2025-09-16 13:16 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)

* contrib/hbcurl/core.c
    ! pacified warning
This commit is contained in:
Przemysław Czerpak
2025-09-16 13:16:11 +02:00
parent 9c8cd237d7
commit d677cbb1e9
2 changed files with 5 additions and 1 deletions

View File

@@ -7,6 +7,10 @@
Entries may not always be in chronological/commit order. Entries may not always be in chronological/commit order.
See license at the end of file. */ See license at the end of file. */
2025-09-16 13:16 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* contrib/hbcurl/core.c
! pacified warning
2025-09-10 09:08 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) 2025-09-10 09:08 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* contrib/hbbmp/core.c * contrib/hbbmp/core.c
! pacified BCC warnings ! pacified BCC warnings

View File

@@ -1646,7 +1646,7 @@ HB_FUNC( CURL_EASY_SETOPT )
res = curl_easy_setopt( hb_curl->curl, CURLOPT_UPLOAD, HB_CURL_OPT_BOOL( 3 ) ); res = curl_easy_setopt( hb_curl->curl, CURLOPT_UPLOAD, HB_CURL_OPT_BOOL( 3 ) );
break; break;
case HB_CURLOPT_DOWNLOAD: /* Harbour extension */ case HB_CURLOPT_DOWNLOAD: /* Harbour extension */
res = curl_easy_setopt( hb_curl->curl, CURLOPT_UPLOAD, ! HB_CURL_OPT_BOOL( 3 ) ); res = curl_easy_setopt( hb_curl->curl, CURLOPT_UPLOAD, ( long ) ( HB_CURL_OPT_BOOL( 3 ) ? 0 : 1 ) );
break; break;
#if LIBCURL_VERSION_NUM >= 0x070A08 /* Not documented. GUESS. */ #if LIBCURL_VERSION_NUM >= 0x070A08 /* Not documented. GUESS. */
case HB_CURLOPT_MAXFILESIZE: case HB_CURLOPT_MAXFILESIZE: