fixed looping bug in conversion function
This commit is contained in:
parent
34b26797a1
commit
c6527da081
2 changed files with 2 additions and 1 deletions
|
@ -63,7 +63,7 @@ char* ltoa(long number, char* string, int base)
|
|||
*string++ = '-';
|
||||
}
|
||||
|
||||
itoa(number, string, base);
|
||||
ultoa(number, string, base);
|
||||
return old_string;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue