From 0b5af70a7d6d3e09fc121740974a1f11f05fdc48 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Grubbstr=C3=B6m=20=28Grubba=29?= <grubba@grubba.org> Date: Fri, 5 Jan 2007 15:52:19 +0100 Subject: [PATCH] Fixed diagnostic. Rev: src/pike_types.c:1.259 --- src/pike_types.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/pike_types.c b/src/pike_types.c index 47fc437e98..5a68e7d00d 100644 --- a/src/pike_types.c +++ b/src/pike_types.c @@ -2,7 +2,7 @@ || 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.258 2006/10/27 18:19:42 grubba Exp $ +|| $Id: pike_types.c,v 1.259 2007/01/05 14:52:19 grubba Exp $ */ #include "global.h" @@ -4997,8 +4997,8 @@ int pike_type_allow_premature_toss(struct pike_type *type) case T_VOID: return 1; default: - Pike_fatal("pike_type_allow_premature_toss: Unknown type code (%d)\n", - ((unsigned char *)type)[-1]); + Pike_fatal("pike_type_allow_premature_toss: Unknown type (code: %d)\n", + type->type); /* NOT_REACHED */ return 0; } -- GitLab