summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordmaclach@chromium.org <dmaclach@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-12-17 19:22:40 +0000
committerdmaclach@chromium.org <dmaclach@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-12-17 19:22:40 +0000
commitad3c3b50b3e1b8940681148b6315e819aeda428b (patch)
tree1e491522ec137bdb6c472b4c88791aac0c0ee3a9
parenta19c97d7fb9c2a8dce965e91575669fbbb8ea537 (diff)
downloadchromium_src-ad3c3b50b3e1b8940681148b6315e819aeda428b.zip
chromium_src-ad3c3b50b3e1b8940681148b6315e819aeda428b.tar.gz
chromium_src-ad3c3b50b3e1b8940681148b6315e819aeda428b.tar.bz2
Fix up clang problem
BUG=none TEST=BUILD Review URL: http://codereview.chromium.org/6013002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69565 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--base/mac_util.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/base/mac_util.h b/base/mac_util.h
index 4497da3..076865d 100644
--- a/base/mac_util.h
+++ b/base/mac_util.h
@@ -209,7 +209,7 @@ void NSObjectRelease(void* obj);
#define CF_TO_NS_CAST(TypeCF, TypeNS) \
inline TypeNS* CFToNSCast(TypeCF cf_val) { \
TypeNS* ns_val = \
- const_cast<id>(reinterpret_cast<const struct objc_object*>(cf_val)); \
+ const_cast<TypeNS*>(reinterpret_cast<const TypeNS*>(cf_val)); \
DCHECK(!ns_val || [ns_val isKindOfClass:[TypeNS class]]); \
return ns_val; \
}