Skip to content

Commit

Permalink
Update printf.c
Browse files Browse the repository at this point in the history
  • Loading branch information
fxlin committed Mar 1, 2024
1 parent cfc62c3 commit 7b387cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/exp6/src/printf.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ static void* stdout_putp;
static void uli2a(unsigned long int num, unsigned int base, int uc,char * bf)
{
int n=0;
unsigned int d=1;
unsigned long d=1;
while (num/d >= base)
d*=base;
while (d!=0) {
Expand Down

0 comments on commit 7b387cd

Please sign in to comment.