diff --git a/lib/libc/time/zic.c b/lib/libc/time/zic.c index 40a06612b9ac..c2ae80060757 100644 --- a/lib/libc/time/zic.c +++ b/lib/libc/time/zic.c @@ -1,9 +1,9 @@ -/* $NetBSD: zic.c,v 1.23 2004/05/27 20:39:49 kleink Exp $ */ +/* $NetBSD: zic.c,v 1.24 2009/04/23 01:39:47 lukem Exp $ */ #include #ifndef lint #ifndef NOID -__RCSID("$NetBSD: zic.c,v 1.23 2004/05/27 20:39:49 kleink Exp $"); +__RCSID("$NetBSD: zic.c,v 1.24 2009/04/23 01:39:47 lukem Exp $"); #endif /* !defined NOID */ #endif /* !defined lint */ @@ -1426,9 +1426,9 @@ atcomp(avp, bvp) const void * avp; const void * bvp; { - if (((struct attype *) avp)->at < ((struct attype *) bvp)->at) + if (((const struct attype *) avp)->at < ((const struct attype *) bvp)->at) return -1; - else if (((struct attype *) avp)->at > ((struct attype *) bvp)->at) + else if (((const struct attype *) avp)->at > ((const struct attype *) bvp)->at) return 1; else return 0; }