mirror of
https://github.com/curl/curl.git
synced 2026-07-26 03:07:17 +03:00
lib: fix MSVC compiler warnings
Visual C++ complained: warning C4267: '=': conversion from 'size_t' to 'long', possible loss of data warning C4701: potentially uninitialized local variable 'path' used
This commit is contained in:
parent
95c717bbd9
commit
773cef4fae
2 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue