QTfrontend/ui/widget/feedbackdialog.cpp
changeset 10804 f5dc72575c92
parent 10108 c68cf030eded
child 11046 47a8c19ecb60
--- a/QTfrontend/ui/widget/feedbackdialog.cpp	Sun Jan 18 17:14:37 2015 -0500
+++ b/QTfrontend/ui/widget/feedbackdialog.cpp	Mon Jan 19 01:18:43 2015 +0100
@@ -268,7 +268,7 @@
     number_of_cores += QString::number(sysconf(_SC_NPROCESSORS_ONLN)) + "\n";
     quint32 pages = sysconf(_SC_PHYS_PAGES);
     quint32 page_size = sysconf(_SC_PAGE_SIZE);
-    quint32 total = pages * page_size / 1024 / 1024;
+    quint64 total = (quint64)pages * page_size / 1024 / 1024;
     total_ram += QString::number(total) + " MB\n";
     os_version += "GNU/Linux or BSD\n";
 #endif