Skip to content

Commit

Permalink
fixed a long long mistake
Browse files Browse the repository at this point in the history
  • Loading branch information
bagder committed Feb 18, 2002
1 parent 0ec370e commit c795123
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions lib/mprintf.c
Expand Up @@ -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
Expand Down

0 comments on commit c795123

Please sign in to comment.