Help with STRALLOC Errors?

Posted by Kalisto on Fri 16 Dec 2011 02:30 PM — 1 posts, 8,102 views.

#0
ive been fighting with some errors trying to add a changes snippet to stock smaugFUSS1.9 heres a list of errors

changes.c: In function âvoid load_changes()â:
changes.c:220:57: warning: too many arguments for format [-Wformat-extra-args]

changes.c:227:70: error: invalid conversion from âvoid*â to âNEWCHANGE_DATA* {aka newchanges_data*}â [-fpermissive]

changes.c:231:49: error: invalid conversion from âconst char*â to âchar*â [-fpermissive]

changes.c: In function âint strip_change_month(char*)â:
changes.c:341:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]


there is alot more but its just repeated errors

heres a pastebin of my two source files for them

http://pastebin.com/yt1UcVv5

Help me out guys please :)