* config/darwin.c (indirect_data): Fix typo in strncmp logic.

From-SVN: r97866
This commit is contained in:
Mike Stump 2005-04-08 22:53:31 +00:00 committed by Mike Stump
parent b5969637ac
commit ad6aaeb698
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2005-04-08 Mike Stump <mrs@apple.com>
* config/darwin.c (indirect_data): Fix typo in strncmp logic.
2005-04-08 Kazu Hirata <kazu@cs.umass.edu>
* c-tree.h (C_LANG_TREE_NODE_CHAIN_NEXT): Remove.

View File

@ -169,7 +169,7 @@ indirect_data (rtx sym_ref)
lprefix = (((name[0] == '*' || name[0] == '&')
&& (name[1] == 'L' || (name[1] == '"' && name[2] == 'L')))
|| (strncmp (name, "_OBJC_", 6)));
|| (strncmp (name, "_OBJC_", 6) == 0));
return ! lprefix;
}