diff options
-rw-r--r-- | usr.bin/cvs/rcsnum.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/cvs/rcsnum.c b/usr.bin/cvs/rcsnum.c index 16bad8c8727..aa44243b5d8 100644 --- a/usr.bin/cvs/rcsnum.c +++ b/usr.bin/cvs/rcsnum.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rcsnum.c,v 1.4 2004/12/07 17:10:56 tedu Exp $ */ +/* $OpenBSD: rcsnum.c,v 1.5 2004/12/10 19:19:11 jfb Exp $ */ /* * Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org> * All rights reserved. @@ -215,7 +215,7 @@ rcsnum_aton(const char *str, char **ep, RCSNUM *nump) } if (ep != NULL) - *ep = (char *)sp; + *(const char **)ep = sp; nump->rn_len++; return (nump->rn_len); |