Skip to content

Commit

Permalink
removed the extra zero at start
Browse files Browse the repository at this point in the history
  • Loading branch information
Jenni-Foued committed Nov 1, 2020
1 parent 4eaed74 commit 89e7aad
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions print_hex.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ int print_x(va_list arg)
tab[i] = nb % 16;
nb = nb / 16;
}
i--;
for (; i >= 0; i--)
{
for (j = 0; j < 17; j++)
Expand Down Expand Up @@ -83,6 +84,7 @@ int print_X(va_list arg)
tab[i] = nb % 16;
nb = nb / 16;
}
i--;
for (; i >= 0; i--)
{
for (j = 0; j < 17; j++)
Expand Down

0 comments on commit 89e7aad

Please sign in to comment.