Fix type mismatch

This commit is contained in:
TingPing committed 2015-02-21 20:52:43 -05:00
1 parent c1d06c7d63
commit c36d4859d7
3 files changed
+4 -4

No files matched your search

+2 -2
View File
@@ -107,10 +107,10 @@ int xs_parse_cpu(char *model, char *vendor, double *freq)
return 0;
}
guint64 xs_parse_uptime(void)
gint64 xs_parse_uptime(void)
{
char buffer[bsize];
guint64 uptime = 0;
gint64 uptime = 0;
FILE *fp = fopen("/proc/uptime", "r");
if(fp == NULL)
return 0;