mirror of
https://github.com/curl/curl.git
synced 2026-05-19 12:06:20 +03:00
fixed a long long mistake
This commit is contained in:
parent
0ec370e6fb
commit
c795123cd5
1 changed files with 2 additions and 3 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue