X-Git-Url: https://git.dlugolecki.net.pl/?a=blobdiff_plain;f=gom%2Fnote_sub.c;h=bdfb1e692e1d4891593e1a64e1beea8f4eedc3ec;hb=5500079d8f9659388bcef6c17f8d36fdfdaddd82;hp=008b9d046b1d1335de826d7b37faed114a42747e;hpb=bdf47fdee469d5a1d7ddfd06a0e4b26f3b40b0f4;p=gedcom-parse.git diff --git a/gom/note_sub.c b/gom/note_sub.c index 008b9d0..bdfb1e6 100644 --- a/gom/note_sub.c +++ b/gom/note_sub.c @@ -136,7 +136,7 @@ void note_sub_add_citation(Gom_ctxt ctxt, struct source_citation* cit) LINK_CHAIN_ELT(source_citation, note->citation, cit); } -void note_sub_add_to_note(NL_TYPE type, Gom_ctxt ctxt, char* str) +void note_sub_add_to_note(NL_TYPE type, Gom_ctxt ctxt, const char* str) { struct note_sub *note = SAFE_CTXT_CAST(note_sub, ctxt); if (note) {