From 0039b9604d6cf17ecf4df30956b6542b90789dd6 Mon Sep 17 00:00:00 2001 From: Marcelo Matus Date: Mon, 8 Nov 2004 07:30:30 +0000 Subject: [PATCH] fix seg fault #901022 git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6692 626c5289-ae23-0410-ae9c-e8d60b6d4f22 --- SWIG/Source/Swig/symbol.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SWIG/Source/Swig/symbol.c b/SWIG/Source/Swig/symbol.c index 33c38ad0d..1d5fd92de 100644 --- a/SWIG/Source/Swig/symbol.c +++ b/SWIG/Source/Swig/symbol.c @@ -1325,7 +1325,7 @@ SwigType *Swig_symbol_typedef_reduce(SwigType *ty, Symtab *tab) { } if (Strcmp(nodeType(n),"cdecl") == 0) { String *storage = Getattr(n,"storage"); - if (storage && Strcmp(storage,"typedef") == 0) { + if (storage && (Strcmp(storage,"typedef") == 0)) { SwigType *decl; SwigType *rt; SwigType *qt;