1
0
Fork 0

[types] %ld is for long

This commit is contained in:
Witold Filipczyk 2024-04-26 22:41:39 +02:00
parent 110cdef5c2
commit 1c9c30ad75
1 changed files with 1 additions and 1 deletions

View File

@ -224,7 +224,7 @@ draw_show_mem(struct session *ses, int xpos, int ypos, struct color_pair *color)
int i;
int length;
char *pos;
size_t ret = 0;
long ret = 0;
f = fopen("/proc/meminfo", "r");