summaryrefslogtreecommitdiff
path: root/numpy/linalg/pythonxerbla.c
diff options
context:
space:
mode:
authorPearu Peterson <pearu.peterson@gmail.com>2008-04-09 14:58:30 +0000
committerPearu Peterson <pearu.peterson@gmail.com>2008-04-09 14:58:30 +0000
commit338ae1945ab337d49c816660f0afb4398d721caf (patch)
tree7da9825b7a40a4f13263c22c859a042338de9cbd /numpy/linalg/pythonxerbla.c
parent67963933a1be0bb789842780640c52e8b3d6ae28 (diff)
downloadnumpy-338ae1945ab337d49c816660f0afb4398d721caf.tar.gz
Fixing compile error from MSVC.
Diffstat (limited to 'numpy/linalg/pythonxerbla.c')
-rw-r--r--numpy/linalg/pythonxerbla.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/linalg/pythonxerbla.c b/numpy/linalg/pythonxerbla.c
index 397d2ab1d..2c75be3ec 100644
--- a/numpy/linalg/pythonxerbla.c
+++ b/numpy/linalg/pythonxerbla.c
@@ -20,7 +20,7 @@ int xerbla_(char *srname, integer *info)
{
const char* format = "On entry to %.*s" \
" parameter number %d had an illegal value";
- char buf[strlen(format) + 6 + 4]; /* 6 for name, 4 for param. num. */
+ char buf[60 + 6 + 4]; /* 6 for name, 4 for param. num. */
int len = 0; /* length of subroutine name*/
while( len<6 && srname[len]!='\0' )