mirror of
https://github.com/odin-lang/Odin.git
synced 2025-12-30 09:54:45 +00:00
Merge pull request #3570 from jasonKercher/linux-arm32
Get the compiler to build and work on arm32 Linux
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