From 1a17b17a11119a2b913a1f6e93d53dcce4c8cf4c Mon Sep 17 00:00:00 2001 From: David Nadlinger Date: Tue, 13 Mar 2012 10:48:17 +0100 Subject: [PATCH] Fix TypeNull::toDecoBuffer prototype mismatch. This shouldn't have caused any harm, as it currently only forwards to Type::toDecoBuffer anyway. --- dmd2/mtype.c | 4 ++-- dmd2/mtype.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dmd2/mtype.c b/dmd2/mtype.c index 561bef95..d305482c 100644 --- a/dmd2/mtype.c +++ b/dmd2/mtype.c @@ -8995,10 +8995,10 @@ MATCH TypeNull::implicitConvTo(Type *to) return MATCHnomatch; } -void TypeNull::toDecoBuffer(OutBuffer *buf, int flag) +void TypeNull::toDecoBuffer(OutBuffer *buf, int flag, bool mangle) { //tvoidptr->toDecoBuffer(buf, flag); - Type::toDecoBuffer(buf, flag); + Type::toDecoBuffer(buf, flag, mangle); } void TypeNull::toCBuffer(OutBuffer *buf, Identifier *ident, HdrGenState *hgs) diff --git a/dmd2/mtype.h b/dmd2/mtype.h index 587c9965..00536496 100644 --- a/dmd2/mtype.h +++ b/dmd2/mtype.h @@ -1010,7 +1010,7 @@ struct TypeNull : Type TypeNull(); Type *syntaxCopy(); - void toDecoBuffer(OutBuffer *buf, int flag); + void toDecoBuffer(OutBuffer *buf, int flag, bool mangle); MATCH implicitConvTo(Type *to); void toCBuffer(OutBuffer *buf, Identifier *ident, HdrGenState *hgs);