From a5268155c0486061c85d581a4ab75e21f8cbb8f1 Mon Sep 17 00:00:00 2001 From: David Warde-Farley Date: Mon, 19 Sep 2011 01:44:12 -0400 Subject: ENH: Use char instead of int for error flag. --- numpy/lib/src/_compiled_base.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'numpy/lib') diff --git a/numpy/lib/src/_compiled_base.c b/numpy/lib/src/_compiled_base.c index 73782ad2b..d3bbb2a19 100644 --- a/numpy/lib/src/_compiled_base.c +++ b/numpy/lib/src/_compiled_base.c @@ -220,7 +220,7 @@ arr_digitize(PyObject *NPY_UNUSED(self), PyObject *args, PyObject *kwds) int m, i; static char *kwlist[] = {"x", "bins", NULL}; PyArray_Descr *type; - int bins_non_monotonic = 0; + char bins_non_monotonic = 0; if (!PyArg_ParseTupleAndKeywords(args, kwds, "OO", kwlist, &ox, &obins)) { goto fail; -- cgit v1.2.1