Taking care of const correctness.
[gedcom-parse.git] / gedcom / message.c
index 62954b4cc53f6a8ba395d1ae20a7bec37a1c7a13..738bcd099bce23a58864841dcd3e51639edb9567 100644 (file)
@@ -140,7 +140,7 @@ int gedcom_error(const char* s, ...)
   return res;
 }
 
-void gedcom_mem_error(char *filename, int line)
+void gedcom_mem_error(const char *filename, int line)
 {
   gedcom_error(_("Could not allocate memory at %s, %d"), filename, line);
 }