Don't assume that time_t is long.

This commit is contained in:
Bruce Evans 1998-06-29 18:15:21 +00:00
parent 8720f72c80
commit 9064aa963a

View File

@ -32,7 +32,7 @@
#ifndef lint
static const char rcsid[] =
"$Id$";
"$Id: yppush_main.c,v 1.9 1997/11/03 07:53:44 charnier Exp $";
#endif /* not lint */
#include <errno.h>
@ -655,7 +655,7 @@ main(argc,argv)
sigaction(SIGIO, &sa, NULL);
/* set initial transaction ID */
time(&yppush_transid);
yppush_transid = time((time_t *)NULL);
if (yppush_hostlist) {
/*