1
0
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:
Daniel Stenberg 2002-02-18 23:32:45 +00:00
parent 0ec370e6fb
commit c795123cd5

View File

@ -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