mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-27 00:04:35 +00:00
Fix warning.
This commit is contained in:
parent
ebcdebaa69
commit
53aee0e03d
@ -294,7 +294,7 @@ static const char* GetHostInfo()
|
|||||||
#elif defined __linux__
|
#elif defined __linux__
|
||||||
struct sysinfo sysInfo;
|
struct sysinfo sysInfo;
|
||||||
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
|
#else
|
||||||
ptr += sprintf( ptr, "RAM: unknown\n" );
|
ptr += sprintf( ptr, "RAM: unknown\n" );
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user