dlugolecki.net.pl
Dziennik
Polecane
Software
projects
/
gedcom-parse.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d4a4e9c
)
Use ICONV_CONST for portability.
author
Peter Verthez
<Peter.Verthez@advalvas.be>
Mon, 14 Oct 2002 18:51:02 +0000
(18:51 +0000)
committer
Peter Verthez
<Peter.Verthez@advalvas.be>
Mon, 14 Oct 2002 18:51:02 +0000
(18:51 +0000)
gedcom/encoding.c
patch
|
blob
|
history
diff --git
a/gedcom/encoding.c
b/gedcom/encoding.c
index 4feac587c92ff5726c3653f0d68d8c71cdb46190..d484d1c7847054a7cd3fdf0c8d5c4eccf832f5f9 100644
(file)
--- a/
gedcom/encoding.c
+++ b/
gedcom/encoding.c
@@
-289,7
+289,7
@@
char* to_internal(const char* str, size_t len,
size_t res;
size_t outsize = out_len;
char *wrptr = output_buffer;
-
char *rdptr =
conv_buf;
+
ICONV_CONST char *rdptr = (ICONV_CONST char*)
conv_buf;
char *retval = output_buffer;
/* set up input buffer (concatenate to what was left previous time) */
/* can't use strcpy, because possible null bytes from unicode */