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.1.0
--
To unsubscribe, send mail to [email protected].
