From 75a8cfc091c306dbd8b6cf5e1c81bf92e472a03c Mon Sep 17 00:00:00 2001 From: Philip Kovacs Date: Fri, 29 Dec 2006 23:38:57 +0000 Subject: [PATCH] fix warnings git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@824 7f574dfc-610e-0410-a909-a81674777703 --- src/conky.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/conky.c b/src/conky.c index 425cae3e..b9cef5be 100644 --- a/src/conky.c +++ b/src/conky.c @@ -542,7 +542,7 @@ static struct special_t *new_special(char *buf, int t) long fwd_fcharfind(FILE* fp, char val, unsigned int step) { #define BUFSZ 0x1000 long ret = -1; - long count = 0; + unsigned int count = 0; static char buf[BUFSZ]; long orig_pos = ftell(fp); long buf_pos = -1; @@ -573,7 +573,7 @@ long fwd_fcharfind(FILE* fp, char val, unsigned int step) { long rev_fcharfind(FILE* fp, char val, unsigned int step) { #define BUFSZ 0x1000 long ret = -1; - long count = 0; + unsigned int count = 0; static char buf[BUFSZ]; long orig_pos = ftell(fp); long buf_pos = -1;