I've a little problem:
while I compile a programm, gcc says:
pjbproto.c: In function 'pjbproto_build_itemlist':
pjbproto.c:306: 'u16' is promoted to 'int' when passed through '...'
pjbproto.c:306: (so you should pass 'int' not 'u16' to 'va_arg')
pjbproto.c: In function 'pjbproto_parse_itemlist':
pjbproto.c:437: 'u16' is promoted to 'int' when passed through '...'
make: *** [pjbproto.o] Error 1
make: Leaving directory '/home/dvd/src/jukeboxmgr/PJB100/pjbapi'
make: *** [MakePJBLibs] Error 2
OK I know the problem, but I can't solve it!
I'be emailed with the author and he says this:
[...] so you should replace va_arg(u16) to (u16)va_arg(int) [...]
OK, looks very easy, but the funktion is defined so:
I don't know what to do with the marker...
can you halp me??
Could you send me the code fragment?
[ back to toc ]