diff options
| author | gingerBill <gingerBill@users.noreply.github.com> | 2024-05-20 00:05:57 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-05-20 00:05:57 +0100 |
| commit | 8dec4f6ed332f2e78331f1b29aaaac16a851745e (patch) | |
| tree | 78156eb049aff83dd1190dff14f7d14a9739b05a /src/bug_report.cpp | |
| parent | b6d5be8593414371785eda44b8135ba988831cac (diff) | |
| parent | 2183140e7162b93066e93b0e65da86b220d45ad0 (diff) | |
Merge pull request #3570 from jasonKercher/linux-arm32
Get the compiler to build and work on arm32 Linux
Diffstat (limited to 'src/bug_report.cpp')
| -rw-r--r-- | src/bug_report.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bug_report.cpp b/src/bug_report.cpp index c73595e99..1f754ce7c 100644 --- a/src/bug_report.cpp +++ b/src/bug_report.cpp @@ -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"); } |