X-Git-Url: https://git.dlugolecki.net.pl/?a=blobdiff_plain;f=gom%2Fheader.c;h=f9032d8f1368af31d6541dc0b93b55310d98ffec;hb=90d522d64b1bc52135d15e26f88f55cf0d700ec6;hp=1422ae231e30044338e283cd2d9c1a9087d91e2e;hpb=bdf47fdee469d5a1d7ddfd06a0e4b26f3b40b0f4;p=gedcom-parse.git diff --git a/gom/header.c b/gom/header.c index 1422ae2..f9032d8 100644 --- a/gom/header.c +++ b/gom/header.c @@ -69,7 +69,7 @@ void header_add_address(Gom_ctxt ctxt, struct address* addr) head->source.corporation.address = addr; } -void header_add_phone(Gom_ctxt ctxt, char* phone) +void header_add_phone(Gom_ctxt ctxt, const char* phone) { struct header *head = SAFE_CTXT_CAST(header, ctxt); if (head) { @@ -83,7 +83,7 @@ void header_add_phone(Gom_ctxt ctxt, char* phone) } } -void header_add_to_note(NL_TYPE type, Gom_ctxt ctxt, char* str) +void header_add_to_note(NL_TYPE type, Gom_ctxt ctxt, const char* str) { struct header *head = SAFE_CTXT_CAST(header, ctxt); if (head) {