summaryrefslogtreecommitdiff
path: root/numpy/lib/src
diff options
context:
space:
mode:
authorDavid Warde-Farley <wardefar@iro.umontreal.ca>2011-09-19 01:44:12 -0400
committerDavid Warde-Farley <wardefar@iro.umontreal.ca>2011-09-19 01:45:00 -0400
commita5268155c0486061c85d581a4ab75e21f8cbb8f1 (patch)
treecdc481ee71a6a35f91f4d401933d0dad953f28f6 /numpy/lib/src
parent0d95803ea6c3f305cc2ceb848cee614b78a7902f (diff)
downloadnumpy-a5268155c0486061c85d581a4ab75e21f8cbb8f1.tar.gz
ENH: Use char instead of int for error flag.
Diffstat (limited to 'numpy/lib/src')
-rw-r--r--numpy/lib/src/_compiled_base.c2
1 files changed, 1 insertions, 1 deletions
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;