Correct stupid cast problem. Pointed out by simon burge.

This commit is contained in:
christos 2000-11-03 02:27:35 +00:00
parent dee5c5f3ac
commit 12bd7d8870

View File

@ -1,4 +1,4 @@
/* $NetBSD: dol.c,v 1.15 2000/10/31 16:53:10 christos Exp $ */
/* $NetBSD: dol.c,v 1.16 2000/11/03 02:27:35 christos Exp $ */
/*-
* Copyright (c) 1980, 1991, 1993
@ -38,7 +38,7 @@
#if 0
static char sccsid[] = "@(#)dol.c 8.1 (Berkeley) 5/31/93";
#else
__RCSID("$NetBSD: dol.c,v 1.15 2000/10/31 16:53:10 christos Exp $");
__RCSID("$NetBSD: dol.c,v 1.16 2000/11/03 02:27:35 christos Exp $");
#endif
#endif /* not lint */
@ -862,7 +862,7 @@ again:
if (unlink(tmp) == -1) {
(void) gettimeofday(&tv, NULL);
shtemp = Strspl(STRtmpsh, putn((((int)tv.tv_sec) ^
((int)tv.tv_usec) ^ ((int)doldol)) & 0x00ffffff));
((int)tv.tv_usec) ^ ((int)getpid())) & 0x00ffffff));
}
goto again;
}