mirror of
https://github.com/odin-lang/Odin.git
synced 2026-02-16 08:04:07 +00:00
arm32 now compiles and runs demo
This commit is contained in:
@@ -251,7 +251,7 @@ gb_internal void report_ram_info() {
|
||||
int result = sysinfo(&info);
|
||||
|
||||
if (result == 0x0) {
|
||||
gb_printf("%lu MiB\n", info.totalram * info.mem_unit / gb_megabytes(1));
|
||||
gb_printf("%lu MiB\n", (unsigned long)(info.totalram * info.mem_unit / gb_megabytes(1)));
|
||||
} else {
|
||||
gb_printf("Unknown.\n");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user