Line 0
Link Here
|
|
|
1 |
--- panel-plugin/uptime.c.orig 2010-12-09 10:04:10.000000000 -0600 |
2 |
+++ panel-plugin/uptime.c 2011-03-14 06:45:44.452052074 -0500 |
3 |
@@ -93,7 +93,7 @@ gulong read_uptime() |
4 |
int mib[2] = {CTL_KERN, KERN_BOOTTIME}; |
5 |
struct timeval boottime; |
6 |
time_t now; |
7 |
- int size = sizeof(boottime); |
8 |
+ size_t size = sizeof(boottime); |
9 |
gulong uptime; |
10 |
|
11 |
if((sysctl(mib, 2, &boottime, &size, NULL, 0) != -1) |