From 825923ca2db05163e084c3dc14a4025f9e32b17f Mon Sep 17 00:00:00 2001 From: Martin Stjernholm <mast@lysator.liu.se> Date: Mon, 4 Aug 2003 18:46:37 +0200 Subject: [PATCH] Fixed type aliasing warning. Rev: src/pike_types.c:1.220 --- src/pike_types.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/pike_types.c b/src/pike_types.c index ef7f845372..58d537fe5e 100644 --- a/src/pike_types.c +++ b/src/pike_types.c @@ -2,11 +2,11 @@ || This file is part of Pike. For copyright information see COPYRIGHT. || Pike is distributed under GPL, LGPL and MPL. See the file COPYING || for more information. -|| $Id: pike_types.c,v 1.219 2003/07/01 15:11:30 mast Exp $ +|| $Id: pike_types.c,v 1.220 2003/08/04 16:46:37 mast Exp $ */ #include "global.h" -RCSID("$Id: pike_types.c,v 1.219 2003/07/01 15:11:30 mast Exp $"); +RCSID("$Id: pike_types.c,v 1.220 2003/08/04 16:46:37 mast Exp $"); #include <ctype.h> #include "svalue.h" #include "pike_types.h" @@ -4675,8 +4675,8 @@ static struct pike_type *debug_low_make_pike_type(unsigned char *type_string, /* Make a pike-type from a serialized (old-style) type. */ struct pike_type *debug_make_pike_type(const char *serialized_type) { - return low_make_pike_type((unsigned char *)serialized_type, - (unsigned char **)&serialized_type); + unsigned char *dummy; + return low_make_pike_type((unsigned char *)serialized_type, &dummy); } int pike_type_allow_premature_toss(struct pike_type *type) -- GitLab