aboutsummaryrefslogtreecommitdiff
path: root/src/bug_report.cpp
diff options
context:
space:
mode:
authorgingerBill <gingerBill@users.noreply.github.com>2024-05-20 00:05:57 +0100
committerGitHub <noreply@github.com>2024-05-20 00:05:57 +0100
commit8dec4f6ed332f2e78331f1b29aaaac16a851745e (patch)
tree78156eb049aff83dd1190dff14f7d14a9739b05a /src/bug_report.cpp
parentb6d5be8593414371785eda44b8135ba988831cac (diff)
parent2183140e7162b93066e93b0e65da86b220d45ad0 (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.cpp2
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");
}