]> Chaos Git - console/RCOMage.git/commit
Use size_t type for arguments passed to iconv()
authorAntonio Ospite <ospite@studenti.unina.it>
Mon, 10 Jan 2011 15:58:10 +0000 (16:58 +0100)
committerYouness Alaoui <kakaroto@kakaroto.homelinux.net>
Mon, 10 Jan 2011 20:40:05 +0000 (15:40 -0500)
commit6e751054d8363a316ff85b30272f85792040c207
tree82a27eae164ee5709d6228be0465aeb6b0a4493d
parent63c373fb7a50a327de681e2793f955ea87a95085
Use size_t type for arguments passed to iconv()

On system where sizeof(size_t) != sizeof(uint32_t) iconv() was failing
and even segfaulting. Use the correct type and remove the now unneded
casts from the iconv() invocations.

This makes RCOmage finally work in linux on 64 bit systems as well.

Signed-off-by: Antonio Ospite <ospite@studenti.unina.it>
src/rcodump.c
src/xmlread.c