* typeck.c (comptypes): Handle return code from objc_comptypes
correctly.
From-SVN: r93934
+2005-01-19 Matt Austern <austern@apple.com>
+
+ * typeck.c (comptypes): Handle return code from objc_comptypes
+ correctly.
+
2005-01-19 Kazu Hirata <kazu@cs.umass.edu>
* cp-tree.h, name-lookup.h: Remove unused prototypes.
/* We may be dealing with Objective-C instances... */
if (TREE_CODE (t1) == RECORD_TYPE
- && (retval = objc_comptypes (t1, t2, 0) >= 0))
+ && ((retval = objc_comptypes (t1, t2, 0)) >= 0))
return retval;
/* ...but fall through if we are not. */