summaryrefslogtreecommitdiffstats
path: root/linux
diff options
context:
space:
mode:
authorHisham Muhammad <hisham@gobolinux.org>2014-11-27 19:46:01 -0200
committerHisham Muhammad <hisham@gobolinux.org>2014-11-27 19:46:01 -0200
commite7484015884d0fa966207e2864b974749434df5f (patch)
tree44bf17d319492815ecc158775bf8d63d536fdb6f /linux
parentca03094bb2d60c6ee1558bd2bcfb9038244b38cb (diff)
Build fix.
Diffstat (limited to 'linux')
-rw-r--r--linux/Platform.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/Platform.c b/linux/Platform.c
index f6c88170..668d9efd 100644
--- a/linux/Platform.c
+++ b/linux/Platform.c
@@ -76,5 +76,5 @@ int Platform_getUptime() {
fscanf(fd, "%64lf", &uptime);
fclose(fd);
}
- int totalseconds = (int) floor(uptime);
+ return (int) floor(uptime);
}