mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 23:58:49 -05:00
fixed a long long mistake
This commit is contained in:
parent
0ec370e6fb
commit
c795123cd5
@ -699,9 +699,8 @@ static int dprintf_formatf(
|
||||
#if SIZEOF_LONG_LONG
|
||||
if(p->flags & FLAGS_LONGLONG) {
|
||||
/* long long */
|
||||
num = p->data.lnum;
|
||||
is_neg = num < 0;
|
||||
num = is_neg ? (- num) : num;
|
||||
is_neg = p->data.lnum < 0;
|
||||
num = is_neg ? (- p->data.lnum) : p->data.lnum;
|
||||
}
|
||||
else
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user