diff options
Diffstat (limited to 'lib/mprintf.c')
-rw-r--r-- | lib/mprintf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mprintf.c b/lib/mprintf.c index 0dea5af62..e4270abe8 100644 --- a/lib/mprintf.c +++ b/lib/mprintf.c @@ -935,7 +935,7 @@ static int dprintf_formatf( } if(prec > (long)maxprec) - prec = maxprec-1; + prec = (long)maxprec-1; /* RECURSIVE USAGE */ len = curl_msnprintf(fptr, left, ".%ld", prec); fptr += len; |