From 117693dfce91c1a376a1b54e6eeaa84277caee10 Mon Sep 17 00:00:00 2001 From: mrg Date: Thu, 11 May 2006 17:18:19 +0000 Subject: [PATCH] when calling compile_tr() add (void *) to the 2nd argument's cast chain. --- usr.bin/sed/compile.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/usr.bin/sed/compile.c b/usr.bin/sed/compile.c index 0c988b6b2c07..6428f904db76 100644 --- a/usr.bin/sed/compile.c +++ b/usr.bin/sed/compile.c @@ -1,4 +1,4 @@ -/* $NetBSD: compile.c,v 1.32 2006/04/02 03:47:26 christos Exp $ */ +/* $NetBSD: compile.c,v 1.33 2006/05/11 17:18:19 mrg Exp $ */ /*- * Copyright (c) 1992, 1993 @@ -72,7 +72,7 @@ #if 0 static char sccsid[] = "@(#)compile.c 8.2 (Berkeley) 4/28/95"; #else -__RCSID("$NetBSD: compile.c,v 1.32 2006/04/02 03:47:26 christos Exp $"); +__RCSID("$NetBSD: compile.c,v 1.33 2006/05/11 17:18:19 mrg Exp $"); #endif #endif /* not lint */ @@ -354,7 +354,7 @@ nonsel: /* Now parse the command */ break; case TR: /* y */ p++; - p = compile_tr(p, (char **)&cmd->u.y); + p = compile_tr(p, (char **)(void *)&cmd->u.y); EATSPACE(); if (*p == ';') { p++;