On Mon, 28 Jul 2003, Vladimir Lipskiy wrote: > I'm getting an awful lot of "spf_render.c(578) : warning C4761: integral > size mismatch in argument; conversion supplied" while making. >
Line 578 in spf_render.c is: gen_sprintf_call(interpreter, tc, &info, ch); The problem seems to be the fourth argument; ch is declared earlier in the function as INTVAL, but the gen_sprintf_call prototype is: static void gen_sprintf_call(struct Parrot_Interp *interpreter, char *out, SpfInfo info, char thingy) and sizeof(char) != sizeof(INTVAL). Now, this seems to be OK, since we know that in actual fact ch < 256 and so will fit in a char, so it may be just a simple matter of putting in an explicit cast, but I'd like to hear from Brent before I do that. Simon