[winedump] Fix returntype argument in search

Peter Berg Larsen pebl at math.ku.dk
Tue Jan 4 16:19:52 CST 2005


Changelog:
	Fix a returntype bug after allowing 'foo *functionname()'
        prototypes. In 'unsigned char *functionname()' char was not
        seen; therefor implicit 'unsigned int'.

diff -ru wine-20041201-org/tools/winedump/search.c wine-20041201/tools/winedump/search.c
--- wine-20041201-org/tools/winedump/search.c	2002-04-26 21:05:18.000000000 +0200
+++ wine-20041201/tools/winedump/search.c	2005-01-04 23:00:53.000000000 +0100
@@ -270,7 +280,8 @@
     {
       iter = (char *)proto;
       base_type = catch_unsigned;
-    }
+    } else
+      catch_unsigned = NULL;
   }
   else
     catch_unsigned = NULL;



--
E-Mail:       pebl at math.ku.dk
Real name:    Peter Berg Larsen
Where:        Department of Computer Science, Copenhagen Uni., Denmark





More information about the wine-patches mailing list