From 7fe9a1d13e7716f67949a7a1d469d9afb8c0d733 Mon Sep 17 00:00:00 2001 From: Reuben Morais Date: Thu, 11 Apr 2013 19:29:50 -0700 Subject: [PATCH] Bug 861032 - Fix -Wreinterpret-base-class warning on Codegen.py. r=bz --HG-- extra : rebase_source : c05d51d8aeed182b85333a347f0b1dfb5d6b1ef9 --- dom/bindings/Codegen.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dom/bindings/Codegen.py b/dom/bindings/Codegen.py index 27288bcd216f..18c28a16ca6f 100644 --- a/dom/bindings/Codegen.py +++ b/dom/bindings/Codegen.py @@ -1940,7 +1940,7 @@ class CGWrapWithCacheMethod(CGAbstractMethod): if self.descriptor.nativeOwnership == 'nsisupports': assertISupportsInheritance = ( - ' MOZ_ASSERT(reinterpret_cast(aObject) != aCache,\n' + ' MOZ_ASSERT(reinterpret_cast(aObject) != aCache,\n' ' "nsISupports must be on our primary inheritance chain");\n') else: assertISupportsInheritance = ""