improved malloc

This commit is contained in:
Lauchmelder 2022-01-21 04:29:40 +01:00
parent e5c428e6cf
commit fd35ff3df7
3 changed files with 53 additions and 39 deletions

View file

@ -30,7 +30,7 @@ char* ultoa(unsigned long number, char* string, int base)
return string;
}
char* buffer = (char*)malloc();
char* buffer = (char*)malloc(1024);
char* temp = buffer;
int i = 0;