From adcc02592c9641eb85d56526397f7af4166f81cc Mon Sep 17 00:00:00 2001 From: David Crosby Date: Sun, 26 Jul 2015 00:08:22 -0600 Subject: Use unsigned int for max_count --- cookie.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cookie.c b/cookie.c index 20dcb2a..8a6f447 100644 --- a/cookie.c +++ b/cookie.c @@ -23,7 +23,7 @@ static int is_saved = 1; #define contain_no_dots(p, ep) (total_dot_number((p),(ep),1)==0) static unsigned int -total_dot_number(char *p, char *ep, int max_count) +total_dot_number(char *p, char *ep, unsigned int max_count) { unsigned int count = 0; if (!ep) -- cgit v1.2.3