Avoid strict alias warning.
This commit is contained in:
parent
4c278745df
commit
f33f7a14c5
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: supmsg.c,v 1.10 2002/07/10 20:19:47 wiz Exp $ */
|
||||
/* $NetBSD: supmsg.c,v 1.11 2002/12/06 15:21:08 thorpej Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1992 Carnegie Mellon University
|
||||
@ -174,7 +174,7 @@ msgsetup(void)
|
||||
}
|
||||
x = readstring(&collname);
|
||||
if (x == SCMOK)
|
||||
x = readint((int *) &lasttime);
|
||||
x = readint((void *) &lasttime);
|
||||
if (x == SCMOK)
|
||||
x = readstring(&basedir);
|
||||
if (x == SCMOK)
|
||||
@ -417,7 +417,7 @@ msglist(void)
|
||||
x = readstring(&name);
|
||||
}
|
||||
if (x == SCMOK)
|
||||
x = readint((int *) &scantime);
|
||||
x = readint((void *) &scantime);
|
||||
if (x == SCMOK)
|
||||
x = readmend();
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: yppoll.c,v 1.10 2002/07/20 08:40:22 grant Exp $ */
|
||||
/* $NetBSD: yppoll.c,v 1.11 2002/12/06 15:24:08 thorpej Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1992, 1993 Theo de Raadt <deraadt@fsa.ca>
|
||||
@ -36,7 +36,7 @@
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
#ifndef lint
|
||||
__RCSID("$NetBSD: yppoll.c,v 1.10 2002/07/20 08:40:22 grant Exp $");
|
||||
__RCSID("$NetBSD: yppoll.c,v 1.11 2002/12/06 15:24:08 thorpej Exp $");
|
||||
#endif /* not lint */
|
||||
|
||||
#include <sys/param.h>
|
||||
@ -115,7 +115,7 @@ main(argc, argv)
|
||||
inmap, yperr_string(r));
|
||||
|
||||
printf("Map %s has order number %d. %s", inmap, order,
|
||||
ctime((time_t *)&order));
|
||||
ctime((void *)&order));
|
||||
printf("The master server is %s.\n", master);
|
||||
exit(0);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user