From 336aa4f1faaf1aac512397c0680bf5a66a867ca9 Mon Sep 17 00:00:00 2001 From: Jacek Jendrzej Date: Tue, 13 Jun 2017 14:23:56 +0200 Subject: [PATCH] supplement to 3acaf2653e56a95d97523f7e553b3987b1ebfe96 Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/30b1c3f286e7b634f6f17b79838285ca24a94b31 Author: Jacek Jendrzej Date: 2017-06-13 (Tue, 13 Jun 2017) --- src/driver/pictureviewer/pictureviewer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/driver/pictureviewer/pictureviewer.cpp b/src/driver/pictureviewer/pictureviewer.cpp index 6c4ed8f42..f3a1a03a0 100644 --- a/src/driver/pictureviewer/pictureviewer.cpp +++ b/src/driver/pictureviewer/pictureviewer.cpp @@ -860,7 +860,7 @@ static size_t getCachedMemSize(void) size_t cached = 0; if (procmeminfo) { char buf[80] = {0}, a[80] = {0}; - size_t v = 0; + long long unsigned int v = 0; while (fgets(buf, sizeof(buf), procmeminfo)) { char unit[10]; *unit = 0;