Mstore.c calls ical_preprocess with a &size argument where size
is an int (defined by ANSI C as 4 bytes). Ical_preprocess's second
argument is actually a size_t, which is 8 bytes on Alpha Linux.
I worked around it by just casting it in ical_preprocess like this:
isize = *(int *)size;
(used isize in the loop)
*size = (size_t) (out-buf);
at the end of the routine, but that's really just a hack
in case it happens in multiple places.
Neat library, BTW! Now that I can read events,
I'll play with it some more :-).
Log in to post a comment.