Bug 861032 - Fix -Wreinterpret-base-class warning on Codegen.py. r=bz

--HG--
extra : rebase_source : c05d51d8aeed182b85333a347f0b1dfb5d6b1ef9
This commit is contained in:
Reuben Morais 2013-04-11 19:29:50 -07:00
Родитель dcb93daf4b
Коммит 7fe9a1d13e
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -1940,7 +1940,7 @@ class CGWrapWithCacheMethod(CGAbstractMethod):
if self.descriptor.nativeOwnership == 'nsisupports':
assertISupportsInheritance = (
' MOZ_ASSERT(reinterpret_cast<nsWrapperCache*>(aObject) != aCache,\n'
' MOZ_ASSERT(reinterpret_cast<void*>(aObject) != aCache,\n'
' "nsISupports must be on our primary inheritance chain");\n')
else:
assertISupportsInheritance = ""