mirror of
https://github.com/curl/curl.git
synced 2026-07-29 04:23:08 +03:00
Fix one bug detected thanks to test case 557.
This commit is contained in:
parent
5794ffe4bd
commit
f209a4804b
1 changed files with 2 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue