Branch: Tag:

2003-08-04

2003-08-04 16:46:37 by Martin Stjernholm <mast@lysator.liu.se>

Fixed type aliasing warning.

Rev: src/pike_types.c:1.220

2:   || 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:   /* 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)