Progress.c uses implicitly declared time()

Ivan Skytte Jørgensen isj-nedit-dev at i1.dk
Thu Oct 11 22:39:00 CEST 2007


Microline/XmL/Progress.c uses time() without including <time.h>

This makes the compiler implicitly declare time() as returning and int, but it 
really returns a time_t. Depending on calling convention this may make the 
return valued garbed. It is undefined behaviour in C99.

Patch attached. Please apply.


More information about the Develop mailing list