wmmemload: Be consistent in signedness of percentages.
commitb938743e0fd790c51b6967af387bba1579a50a6e
authorDoug Torrance <dtorrance@monmouthcollege.edu>
Fri, 10 Oct 2014 04:50:16 +0000 (9 23:50 -0500)
committerCarlos R. Mafra <crmafra@gmail.com>
Fri, 10 Oct 2014 09:09:53 +0000 (10 10:09 +0100)
tree5d8fd27d038ec66063f01e1d2ee646bc76f84433
parent580fb497e3300aa40fc5ec643dd59504d9dc1df5
wmmemload: Be consistent in signedness of percentages.

Avoid multiple compiler warnings such as the following:
main.c: In function ‘update’:
main.c:157:4: warning: pointer targets in passing argument 1 of ‘mem_getusage’ differ in signedness [-Wpointer-sign]
    mem_getusage(&mem_usage, &swap_usage, &mem_opts);
    ^
In file included from main.c:29:0:
mem.h:16:6: note: expected ‘int *’ but argument is of type ‘unsigned int *’
 void mem_getusage(int *per_mem, int *per_swap, const struct mem_options *opts);
      ^
wmmemload/src/main.c