From e44996d0762d1ac439fc0332bde7478886588f8c Mon Sep 17 00:00:00 2001 From: FiveTech Software Date: Tue, 11 Feb 2025 04:18:39 +0100 Subject: [PATCH] required explicit cast --- contrib/hbcurl/core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/hbcurl/core.c b/contrib/hbcurl/core.c index 2ba39e04c0..b875187ca4 100644 --- a/contrib/hbcurl/core.c +++ b/contrib/hbcurl/core.c @@ -539,7 +539,7 @@ static size_t hb_curl_writefunction_callback( void * buffer, size_t size, size_t { hb_vmPushEvalSym(); hb_vmPush( hb_curl->pWriteFunctionCallback ); - hb_vmPushString( buffer, size * nmemb ); + hb_vmPushString( ( const char * ) buffer, size * nmemb ); hb_vmSend( 1 ); hb_vmRequestRestore(); return size * nmemb;