The gdbm error handler takes a const char *, not a char *.
authorTaylor R Campbell <campbell@mumble.net>
Tue, 4 Jun 2013 20:52:23 +0000 (20:52 +0000)
committerTaylor R Campbell <campbell@mumble.net>
Tue, 11 Jun 2013 16:20:17 +0000 (16:20 +0000)
src/microcode/prgdbm.c

index 63cad8a56a13ecbf1fe41e65af5bde89aa0ab091..4478c3e5fe2f554981dd69237492a9d5ef3d995e 100644 (file)
@@ -138,7 +138,7 @@ datum_to_object (datum d)
 }
 
 static void
-gdbm_fatal_error (char * msg)
+gdbm_fatal_error (const char * msg)
 {
   outf_error ("\ngdbm: %s\n", msg);
   outf_flush_error ();