[Numpy-svn] r5001 - trunk/numpy/linalg

numpy-svn@scip... numpy-svn@scip...
Wed Apr 9 10:15:12 CDT 2008


Author: pearu
Date: 2008-04-09 10:15:05 -0500 (Wed, 09 Apr 2008)
New Revision: 5001

Modified:
   trunk/numpy/linalg/pythonxerbla.c
Log:
Fixing compile error from MSVC. Try 3.

Modified: trunk/numpy/linalg/pythonxerbla.c
===================================================================
--- trunk/numpy/linalg/pythonxerbla.c	2008-04-09 15:07:33 UTC (rev 5000)
+++ trunk/numpy/linalg/pythonxerbla.c	2008-04-09 15:15:05 UTC (rev 5001)
@@ -18,9 +18,9 @@
 
 int xerbla_(char *srname, integer *info)
 {
-        char* format = "On entry to %.*s"			\
+        char format[] = "On entry to %.*s"			\
 		" parameter number %d had an illegal value";
-	char buf[60 + 6 + 4]; /* 6 for name, 4 for param. num. */
+	char buf[70]; /* 6 for name, 4 for param. num. */
 	
 	int len = 0; /* length of subroutine name*/
 	while( len<6 && srname[len]!='\0' )



More information about the Numpy-svn mailing list