mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
Update bootloader/itoa.cpp
Co-authored-by: Lauryy06 <80424145+Lauryy06@users.noreply.github.com>
This commit is contained in:
@@ -30,8 +30,7 @@ char* Bootloader::Utility::itoa(int value, char* buffer, int base)
|
||||
int n = abs(value);
|
||||
|
||||
int i = 0;
|
||||
while (n)
|
||||
{
|
||||
while (n) {
|
||||
int r = n % base;
|
||||
|
||||
if (r >= 10) {
|
||||
|
||||
Reference in New Issue
Block a user