diff --git a/lib/modules/Getopt.pmod b/lib/modules/Getopt.pmod index 2fefb85bcf7268514d7eb23a74fe2278f050ce27..ed86cac2c4c7732c8ed08d7e36aae72db1bdce37 100644 --- a/lib/modules/Getopt.pmod +++ b/lib/modules/Getopt.pmod @@ -18,7 +18,7 @@ static void my_error(string err, int throw_errors) { if(throw_errors) error(err); - werror(err); + werror([string(8)]err); exit(1); } diff --git a/src/pike_types.c b/src/pike_types.c index 5d479ed373e9293ca08d772e10c7f6d7dbe5b01f..5d8fdf80dfe53cc97d3f3db731bbe0984ca03874 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.294 2007/04/25 15:43:07 grubba Exp $ +|| $Id: pike_types.c,v 1.295 2007/04/25 16:01:22 grubba Exp $ */ #include "global.h" @@ -7284,7 +7284,7 @@ void init_types(void) any_type_string = CONSTTYPE(tOr(tVoid,tMix)); weak_type_string = CONSTTYPE(tOr4(tArray,tMultiset,tMapping, tFuncV(tNone,tZero,tOr(tMix,tVoid)))); - /* add_ref(weak_type_string); /* LEAK */ + /* add_ref(weak_type_string); *//* LEAK */ builtin_attributes = allocate_mapping(20);