aboutsummaryrefslogtreecommitdiffstats
path: root/cookie.c
diff options
context:
space:
mode:
authorDavid Crosby <dave@dafyddcrosby.com>2015-07-26 06:08:22 +0000
committerTatsuya Kinoshita <tats@debian.org>2015-08-11 12:59:27 +0000
commitadcc02592c9641eb85d56526397f7af4166f81cc (patch)
treebdc1df1a0695f33f41b73443a2246fc4f48d8302 /cookie.c
parentAdd missing comparision that made if always true (diff)
downloadw3m-adcc02592c9641eb85d56526397f7af4166f81cc.tar.gz
w3m-adcc02592c9641eb85d56526397f7af4166f81cc.zip
Use unsigned int for max_count
Diffstat (limited to 'cookie.c')
-rw-r--r--cookie.c2
1 files changed, 1 insertions, 1 deletions
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)