Use unsigned int for max_count
This commit is contained in:
committed by
Tatsuya Kinoshita
parent
a58671905e
commit
adcc02592c
2
cookie.c
2
cookie.c
@@ -23,7 +23,7 @@ static int is_saved = 1;
|
|||||||
#define contain_no_dots(p, ep) (total_dot_number((p),(ep),1)==0)
|
#define contain_no_dots(p, ep) (total_dot_number((p),(ep),1)==0)
|
||||||
|
|
||||||
static unsigned int
|
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;
|
unsigned int count = 0;
|
||||||
if (!ep)
|
if (!ep)
|
||||||
|
|||||||
Reference in New Issue
Block a user