From 53aee0e03dd2ab6976683c1d7ebe1f46c4ce88c1 Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Mon, 20 Aug 2018 12:53:14 +0200 Subject: [PATCH] Fix warning. --- client/TracyProfiler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/TracyProfiler.cpp b/client/TracyProfiler.cpp index 21857910..d31ab8ea 100644 --- a/client/TracyProfiler.cpp +++ b/client/TracyProfiler.cpp @@ -294,7 +294,7 @@ static const char* GetHostInfo() #elif defined __linux__ struct sysinfo sysInfo; sysinfo( &sysInfo ); - ptr += sprintf( ptr, "RAM: %i MB\n", sysInfo.totalram / 1024 / 1024 ); + ptr += sprintf( ptr, "RAM: %lu MB\n", sysInfo.totalram / 1024 / 1024 ); #else ptr += sprintf( ptr, "RAM: unknown\n" ); #endif