Merge branch 'main' of ssh://forge/ari/memory-allocator
This commit is contained in:
commit
1c720eaca3
2
main.c
2
main.c
|
@ -160,6 +160,8 @@ unsigned char* get_shorthand(unsigned long long int size) {
|
||||||
snprintf(buffer, 12, "%.2f KiB", (float) size / KiB);
|
snprintf(buffer, 12, "%.2f KiB", (float) size / KiB);
|
||||||
return buffer;
|
return buffer;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
void adjust_by_denomination(unsigned long long int* size, char denomination) {
|
void adjust_by_denomination(unsigned long long int* size, char denomination) {
|
||||||
|
|
Loading…
Reference in a new issue