[Xastir-Dev] "nexttime" variable in main.c

Chuck Byam cbyam at virginia.edu
Tue Feb 25 09:31:52 EST 2003


On Tuesday 25 February 2003 05:25 am, Carl Makin wrote:
| Very minor point,
|
| main.c has the variable "nexttime" defined as "time_t" at line 6806 (or
| so).  It's used as a param to XtAppAddTimeOut.  The docs for
| XtAppAddTimeOut say it should be an "unsigned long".
|
| It doesn't seem to be causing a problem though, but which is correct?
|
|
| Carl.

The definition of time_t is frequently convoluted.  It is typically defined as 
an 32bit unsigned integer which shouldn't cause problems (and probably why 
the compiler doesn't complain) when used with this function.

-- Chuck



More information about the Xastir-dev mailing list