From 02291b34b53ef5673442f57da77d3554d3ff4294 Mon Sep 17 00:00:00 2001 From: Jean-Francois Brousseau Date: Fri, 10 Dec 2004 19:19:12 +0000 Subject: proper typecast to get rid of another warning --- usr.bin/cvs/rcsnum.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr.bin') 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 * 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); -- cgit v1.2.3