From 4ecc56e7bf39d894cbd88ba9923ef600df3fa6d0 Mon Sep 17 00:00:00 2001 From: Alan Cox Date: Sun, 13 Nov 2016 00:12:39 +0000 Subject: [PATCH] uptime: fix sign of passed buffer --- Applications/util/uptime.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Applications/util/uptime.c b/Applications/util/uptime.c index 3bbbf33c..5656707a 100644 --- a/Applications/util/uptime.c +++ b/Applications/util/uptime.c @@ -26,7 +26,7 @@ static void printload(int i) int main(int argc, char *argv[]) { static struct timespec res; - static int loadavg[3]; + static unsigned int loadavg[3]; time_t t; uint32_t days, hours, mins; struct tm *tm; -- 2.34.1