mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 23:58:49 -05:00
Fix one bug detected thanks to test case 557.
This commit is contained in:
parent
5794ffe4bd
commit
f209a4804b
@ -720,10 +720,10 @@ static int dprintf_formatf(
|
||||
case FORMAT_INT:
|
||||
#ifdef HAVE_LONG_LONG_TYPE
|
||||
if(p->flags & FLAGS_LONGLONG)
|
||||
num = p->data.lnum;
|
||||
num = (unsigned LONG_LONG_TYPE)p->data.lnum;
|
||||
else
|
||||
#endif
|
||||
num = p->data.num;
|
||||
num = (unsigned long)p->data.num;
|
||||
if(p->flags & FLAGS_CHAR) {
|
||||
/* Character. */
|
||||
if(!(p->flags & FLAGS_LEFT))
|
||||
|
Loading…
Reference in New Issue
Block a user