From 87b0ac2e1febf41126e04cb2ffb4d4b8f5150d4c Mon Sep 17 00:00:00 2001 From: Peter Berg Larsen Date: Wed, 5 Jan 2005 13:23:17 +0000 Subject: [PATCH] Fix a return type bug after allowing 'foo *functionname()' prototypes. In 'unsigned char *functionname()' char was not seen; therefore implicit 'unsigned int'. --- tools/winedump/search.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/winedump/search.c b/tools/winedump/search.c index b9b9ee34602..b517f4d1f1d 100644 --- a/tools/winedump/search.c +++ b/tools/winedump/search.c @@ -281,7 +281,8 @@ static const char *get_type (parsed_symbol *sym, const char *proto, int arg) { iter = proto; base_type = catch_unsigned; - } + } else + catch_unsigned = NULL; } else catch_unsigned = NULL; -- 2.11.4.GIT