summaryrefslogtreecommitdiff
path: root/numpy/core/src
diff options
context:
space:
mode:
Diffstat (limited to 'numpy/core/src')
-rw-r--r--numpy/core/src/multiarray/convert_datatype.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/core/src/multiarray/convert_datatype.c b/numpy/core/src/multiarray/convert_datatype.c
index be136ab59..c578a1b44 100644
--- a/numpy/core/src/multiarray/convert_datatype.c
+++ b/numpy/core/src/multiarray/convert_datatype.c
@@ -783,7 +783,7 @@ static int min_scalar_type_num(char *valueptr, int type_num,
*/
NPY_NO_EXPORT npy_bool
can_cast_scalar_to(PyArray_Descr *scal_type, char *scal_data,
- PyArray_Descr *to, NPY_CASTING casting)
+ PyArray_Descr *to, NPY_CASTING casting)
{
/*
* If the two dtypes are actually references to the same object
@@ -826,7 +826,7 @@ can_cast_scalar_to(PyArray_Descr *scal_type, char *scal_data,
scal_type->f->copyswap(&value, scal_data, swap, NULL);
type_num = min_scalar_type_num((char *)&value, scal_type->type_num,
- &is_small_unsigned);
+ &is_small_unsigned);
/*
* If we've got a small unsigned scalar, and the 'to' type