Make the expression code a little nicer and fix bugs found
[pspp-builds.git] / src / error.c
index 1065fbd7ed93e7f20aa4216bf1fa16d5cea75809..7a7e997d9c397717cafc8f3110cf9665d59cb548 100644 (file)
@@ -559,7 +559,7 @@ request_bug_report_and_abort(const char *msg )
 void 
 err_assert_fail(const char *expr, const char *file, int line)
 {
-  const char msg[256];
+  char msg[256];
   snprintf(msg,256,"Assertion failed: %s:%d; (%s)",file,line,expr);
   request_bug_report_and_abort( msg );
 }