gsize vs. size_t



Hi
I get the followin errors when compiling on AIX

it is because size_t is unsigned long and gsize is unsigned int at when calling g_iconv()

glib-1.3.14/glib/giochannel.c

xlc_r -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DG_LOG_DOMAIN=\"GLib\" -DG_ENABLE_DEBUG -DG_DISABLE_DEPRECATED -DGLIB_COMPILATION -I/net/DAGOBERT/dataE3/bef/mne/SYSTEM/include -g -D_REENTRANT -D_THREAD_SAFE -c giochannel.c  -DPIC
"giochannel.c", line 1246.51: 1506-280 (E) Function argument assignment between types "unsigned int*" and "unsigned long*" is not allowed.
"giochannel.c", line 1247.34: 1506-280 (E) Function argument assignment between types "unsigned int*" and "unsigned long*" is not allowed.
"giochannel.c", line 1737.62: 1506-280 (E) Function argument assignment between types "unsigned int*" and "int*" is not allowed.
"giochannel.c", line 1930.63: 1506-280 (E) Function argument assignment between types "unsigned int*" and "int*" is not allowed.

Regards,
-- 
Miroslaw Dobrzanski-Neumann

MOSAIC SOFTWARE AG
Abteilung Basisentwicklung und Forschung
Tel +49-2225-882-291
Fax +49-2225-882-201
E-mail: mne mosaic-ag com




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]