Fix warning.

This commit is contained in:
Bartosz Taudul 2018-08-20 12:53:14 +02:00
parent ebcdebaa69
commit 53aee0e03d

View File

@ -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