Use unsigned int for max_count

This commit is contained in:
David Crosby authored and Tatsuya Kinoshita committed 2015-08-11 21:59:27 +09:00
1 parent a58671905e
commit adcc02592c
1 file changed
+1 -1
+1 -1
View File
@@ -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)