Some portability fixes.
[gedcom-parse.git] / gedcom / compat.c
index 3b725483ba8b684798f5d896a1c02d0c70874ac5..507de09e6676b6ada5f306fa060081677fb1cd1a 100644 (file)
@@ -126,7 +126,7 @@ void compat_generate_submitter()
   end_element(ELT_SUBM_NAME, self1, self2, NULL);
 
   /* close "0 SUBM" */
-  end_record(REC_SUBM, self1);
+  end_record(REC_SUBM, self1, NULL);
 }
 
 void compat_generate_gedcom(Gedcom_ctxt parent)