diff mercurial/parsers.c @ 19725:5e25d71a58cc

parsers: state is a char, not an int
author Bryan O'Sullivan <bryano@fb.com>
date Mon, 16 Sep 2013 12:10:28 -0700
parents d69e06724b96
children b3c8c6f2b5c1
line wrap: on
line diff
--- 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;