Merge pull request #3570 from jasonKercher/linux-arm32

Get the compiler to build and work on arm32 Linux
This commit is contained in:
gingerBill
2024-05-20 00:05:57 +01:00
committed by GitHub
6 changed files with 27 additions and 8 deletions

View File

@@ -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");
}