summaryrefslogtreecommitdiff
path: root/src/curlhelper.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/curlhelper.c')
-rw-r--r--src/curlhelper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/curlhelper.c b/src/curlhelper.c
index 3c44f2c..8b4d087 100644
--- a/src/curlhelper.c
+++ b/src/curlhelper.c
@@ -26,7 +26,7 @@
int curlhelp_initbuffer( curlhelp_curlbuf *buf ) {
buf->bufsize = 2048;
buf->buflen = 0;
- buf->buf = (char *)malloc( 2048 );
+ buf->buf = (char *)malloc( (size_t)2048 );
if( buf->buf == NULL ) return -1;
return 0;
}