summaryrefslogtreecommitdiff
path: root/scipy/base/src/arraymethods.c
diff options
context:
space:
mode:
authorTravis Oliphant <oliphant@enthought.com>2005-11-16 20:19:44 +0000
committerTravis Oliphant <oliphant@enthought.com>2005-11-16 20:19:44 +0000
commit44faafe479fa1d6b203464812b4479be50dd1c70 (patch)
tree53d096577bba26f4a1e31652ab81e9f4fe150c6a /scipy/base/src/arraymethods.c
parent2f14971b82237ebcd19557421eca8c1976caccf0 (diff)
downloadnumpy-44faafe479fa1d6b203464812b4479be50dd1c70.tar.gz
Fixed some issues with fromfile and hopefully with mingw32 compilations.
Diffstat (limited to 'scipy/base/src/arraymethods.c')
-rw-r--r--scipy/base/src/arraymethods.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/scipy/base/src/arraymethods.c b/scipy/base/src/arraymethods.c
index 14060f5ac..79eecafda 100644
--- a/scipy/base/src/arraymethods.c
+++ b/scipy/base/src/arraymethods.c
@@ -401,7 +401,7 @@ array_tofile(PyArrayObject *self, PyObject *args, PyObject *kwds)
FILE *fd;
char *sep="";
char *format="";
- char *mode;
+ char *mode="";
static char *kwlist[] = {"file", "sep", "format", NULL};
if (!PyArg_ParseTupleAndKeywords(args, kwds, "O|ss", kwlist,