From 467fe825da1eadc5d9f9fd12beea583810adb95c Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Tue, 3 Jun 2008 22:35:19 +0000 Subject: [PATCH] 2008-06-04 00:32 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * contrib/hbcurl/hbcurl.c * CURL_GETDATE(): using hb_retnint(). --- harbour/ChangeLog | 4 ++++ harbour/contrib/hbcurl/hbcurl.c | 6 +----- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/harbour/ChangeLog b/harbour/ChangeLog index 61d81c4206..b61450f484 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -8,6 +8,10 @@ 2008-12-31 13:59 UTC+0100 Foo Bar */ +2008-06-04 00:32 UTC+0100 Viktor Szakats (harbour.01 syenar hu) + * contrib/hbcurl/hbcurl.c + * CURL_GETDATE(): using hb_retnint(). + 2008-06-03 22:24 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * contrib/hbcurl/hbcurl.c ! Fixed macros used in *_LARGE setopt options. diff --git a/harbour/contrib/hbcurl/hbcurl.c b/harbour/contrib/hbcurl/hbcurl.c index e9fea9fbf4..d4b81ee328 100644 --- a/harbour/contrib/hbcurl/hbcurl.c +++ b/harbour/contrib/hbcurl/hbcurl.c @@ -1488,9 +1488,5 @@ HB_FUNC( CURL_MULTI_STRERROR ) /* NOTE: This returns the number of seconds since January 1st 1970 in the UTC time zone. */ HB_FUNC( CURL_GETDATE ) { -#ifdef HB_LONG_LONG_OFF - hb_retnd( ( double ) curl_getdate( hb_parcx( 1 ), NULL ) ); -#else - hb_retnll( curl_getdate( hb_parcx( 1 ), NULL ) ); -#endif + hb_retnint( ( HB_LONG ) curl_getdate( hb_parcx( 1 ), NULL ) ); }