parsers: state is a char, not an int
authorBryan O'Sullivan <bryano@fb.com>
Mon, 16 Sep 2013 12:10:28 -0700
changeset 19725 5e25d71a58cc
parent 19724 2b2a2e858fb7
child 19726 b3c8c6f2b5c1
parsers: state is a char, not an int
mercurial/parsers.c
--- a/mercurial/parsers.c	Fri Sep 13 10:00:57 2013 +0800
+++ b/mercurial/parsers.c	Mon Sep 16 12:10:28 2013 -0700
@@ -158,8 +158,8 @@
 {
 	PyObject *dmap, *cmap, *parents = NULL, *ret = NULL;
 	PyObject *fname = NULL, *cname = NULL, *entry = NULL;
-	char *str, *cur, *end, *cpos;
-	int state, mode, size, mtime;
+	char state, *str, *cur, *end, *cpos;
+	int mode, size, mtime;
 	unsigned int flen;
 	int len;