diff options
author | Jean-Francois Brousseau <jfb@cvs.openbsd.org> | 2004-12-10 19:19:12 +0000 |
---|---|---|
committer | Jean-Francois Brousseau <jfb@cvs.openbsd.org> | 2004-12-10 19:19:12 +0000 |
commit | 02291b34b53ef5673442f57da77d3554d3ff4294 (patch) | |
tree | cee778fabd9d2a1ed7e5af890245d2e769cba420 /usr.bin/cvs | |
parent | f59156eed73490984509b6924e12700fafae17f6 (diff) |
proper typecast to get rid of another warning
Diffstat (limited to 'usr.bin/cvs')
-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); |