From a75d6dae6fa0aa082d7dab3bb15d797214b561fe Mon Sep 17 00:00:00 2001 From: Dimitris Panokostas Date: Sun, 28 Jun 2020 18:44:34 +0200 Subject: [PATCH] Fixed compiler warning --- src/osdep/amiberry_mem.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/osdep/amiberry_mem.cpp b/src/osdep/amiberry_mem.cpp index cc70711b..2b45abd4 100644 --- a/src/osdep/amiberry_mem.cpp +++ b/src/osdep/amiberry_mem.cpp @@ -64,7 +64,7 @@ bool can_have_1gb() long long total_phys_mem = mem_info.totalram; total_phys_mem *= mem_info.mem_unit; // Do we have more than 2GB in the system? - if (total_phys_mem > 2048 * 1024 * 1024) + if (total_phys_mem > 2147483648LL) return true; return false; }