Removes a warning and a problem with the type of sbrk.



Attachment: gcl-unexmacosx.diffu
Description: Binary data




There are lots of warnings in unexmacos.c:


gcc -c -Wall -DVOL=volatile -fsigned-char -pipe -O3 -fomit-frame- pointer -I/Users/Clemens/src/gcl-cvs/o -I../h -I../gcl-tk unixsave.c
In file included from unixsave.c:32:
unexmacosx.c: In function 'print_load_command':
unexmacosx.c:531: warning: format '%#10lx' expects type 'long unsigned int', but argument 2 has type 'uint32_t'
unexmacosx.c:541: warning: format '%#10lx' expects type 'long unsigned int', but argument 3 has type 'uint32_t'
unexmacosx.c:541: warning: format '%#10lx' expects type 'long unsigned int', but argument 4 has type 'uint32_t'
unexmacosx.c:547: warning: format '%#10lx' expects type 'long unsigned int', but argument 3 has type 'uint32_t'
unexmacosx.c:547: warning: format '%#10lx' expects type 'long unsigned int', but argument 4 has type 'uint32_t'
unexmacosx.c: In function 'read_load_commands':
unexmacosx.c:574: warning: format '%08lx' expects type 'long unsigned int', but argument 2 has type 'uint32_t'
unexmacosx.c:577: warning: format '%lx' expects type 'long unsigned int', but argument 2 has type 'uint32_t'
unexmacosx.c:578: warning: format '%ld' expects type 'long int', but argument 2 has type 'uint32_t'
unexmacosx.c:579: warning: format '%ld' expects type 'long int', but argument 2 has type 'uint32_t'
unexmacosx.c:580: warning: format '%08lx' expects type 'long unsigned int', but argument 2 has type 'uint32_t'
unexmacosx.c: In function 'copy_segment':
unexmacosx.c:660: warning: format '%#10lx' expects type 'long unsigned int', but argument 3 has type 'uint32_t'
unexmacosx.c:660: warning: format '%#10lx' expects type 'long unsigned int', but argument 4 has type 'uint32_t'
unexmacosx.c:660: warning: format '%#10lx' expects type 'long unsigned int', but argument 5 has type 'uint32_t'
unexmacosx.c: In function 'copy_data_segment':
unexmacosx.c:698: warning: format '%#10lx' expects type 'long unsigned int', but argument 3 has type 'uint32_t'
unexmacosx.c:698: warning: format '%#10lx' expects type 'long unsigned int', but argument 4 has type 'uint32_t'
unexmacosx.c:698: warning: format '%#10lx' expects type 'long unsigned int', but argument 5 has type 'uint32_t'
unexmacosx.c:746: warning: format '%#10lx' expects type 'long unsigned int', but argument 3 has type 'uint32_t'
unexmacosx.c:746: warning: format '%#10lx' expects type 'long unsigned int', but argument 4 has type 'uint32_t'
unexmacosx.c:746: warning: format '%#10lx' expects type 'long unsigned int', but argument 5 has type 'uint32_t'
unexmacosx.c:834: warning: format '%#10lx' expects type 'long unsigned int', but argument 3 has type 'uint32_t'
unexmacosx.c:834: warning: format '%#10lx' expects type 'long unsigned int', but argument 4 has type 'uint32_t'
unexmacosx.c:834: warning: format '%#10lx' expects type 'long unsigned int', but argument 5 has type 'uint32_t'

_______________________________________________
Gcl-devel mailing list
Gcl-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/gcl-devel

Reply via email to