Alan Scott wrote:
When calling a routine that accepts a variable argument list (specifically snprintf()) the compiler seems to be generating code that would not work.
[...]
snprintf( ucOutBuff, sizeof(ucOutBuff), "Off: 0x%x", usTimeOff );
make sure there is a function prototype. in this case, ensure that you #include <stdio.h>
the compiler otherwise assumes it's a function accepting int paramters. chris
