diff options
author | Julian Taylor <jtaylor.debian@googlemail.com> | 2013-05-25 10:28:07 +0200 |
---|---|---|
committer | Julian Taylor <jtaylor.debian@googlemail.com> | 2013-05-25 10:38:31 +0200 |
commit | cf574923b764e477a6b748c3620c99c9fadf44e9 (patch) | |
tree | 555dfa12cbc685ea54440f842348164bab1630d2 /numpy/linalg/umath_linalg.c.src | |
parent | e11cd9b028051659a852b7e8daa150f082d42c5a (diff) | |
download | numpy-cf574923b764e477a6b748c3620c99c9fadf44e9.tar.gz |
MAINT: fix some compiler warnings
implicit declarations, wrong declarations, unused variables and fixes a
comparison typo bug in multiarraymodule.c
Diffstat (limited to 'numpy/linalg/umath_linalg.c.src')
-rw-r--r-- | numpy/linalg/umath_linalg.c.src | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/numpy/linalg/umath_linalg.c.src b/numpy/linalg/umath_linalg.c.src index 796f76778..c5303a077 100644 --- a/numpy/linalg/umath_linalg.c.src +++ b/numpy/linalg/umath_linalg.c.src @@ -375,7 +375,7 @@ offset_ptr(void* ptr, ptrdiff_t offset) } static inline int -get_fp_invalid_and_clear() +get_fp_invalid_and_clear(void) { int status; status = PyUFunc_getfperr(); @@ -434,7 +434,7 @@ static DOUBLECOMPLEX_t z_minus_one; static DOUBLECOMPLEX_t z_ninf; static DOUBLECOMPLEX_t z_nan; -static void init_constants() +static void init_constants(void) { /* this is needed as NPY_INFINITY and NPY_NAN macros @@ -1177,8 +1177,8 @@ matrix_desc_init(matrix_desc *mtxd, mtxd->buff = NULL; } -static inline npy_int8 * -matrix_desc_assign_buff(matrix_desc* mtxd, npy_int8 *p) +static inline npy_uint8 * +matrix_desc_assign_buff(matrix_desc* mtxd, npy_uint8 *p) { if (mtxd->need_buff) { mtxd->buff = p; |