heap position is now dynamically determined

This commit is contained in:
Lauchmelder 2022-01-21 12:23:42 +01:00
parent dbe4a2a84e
commit aedba6e52b
5 changed files with 7 additions and 12 deletions

View file

@ -47,7 +47,7 @@ char* ultoa(unsigned long number, char* string, int base)
if(digit < 10)
temp[i++] = '0' + digit;
else
temp[i++] = 'A' + digit;
temp[i++] = 'A' + digit - 10;
}
}