From 2167b4c3545367fbaa2c782fed34706d81f3b00b Mon Sep 17 00:00:00 2001 From: Doug Torrance Date: Sat, 24 Jan 2015 12:05:43 -0600 Subject: [PATCH] wmmenu: Fix -Wsign-compare compiler warning. Use size_t instead of int since comparing with sizeof. --- wmmenu/utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wmmenu/utils.c b/wmmenu/utils.c index cdb92e2..f9e5921 100644 --- a/wmmenu/utils.c +++ b/wmmenu/utils.c @@ -16,7 +16,7 @@ static char * ReadAll (FILE * f, int offset) { char buf [10*1024] ; - int iRead, nRead ; + size_t iRead, nRead ; char * ret ; clearerr (f) ; -- 2.11.4.GIT