From edbfeb43d3dcbbf0ca69a809a9f0800e9ef2425d Mon Sep 17 00:00:00 2001 From: Jason Duell Date: Tue, 8 May 2012 17:00:12 -0700 Subject: [PATCH] Bug 750616 - Get rid of warnings in necko on android. r=blassey --- netwerk/system/android/Makefile.in | 1 + widget/android/AndroidBridge.h | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/netwerk/system/android/Makefile.in b/netwerk/system/android/Makefile.in index 6eff14673c2..101750911d9 100644 --- a/netwerk/system/android/Makefile.in +++ b/netwerk/system/android/Makefile.in @@ -44,6 +44,7 @@ include $(DEPTH)/config/autoconf.mk MODULE = necko LIBRARY_NAME = neckosystem_s LIBXUL_LIBRARY = 1 +FAIL_ON_WARNINGS = 1 FORCE_STATIC_LIB = 1 diff --git a/widget/android/AndroidBridge.h b/widget/android/AndroidBridge.h index 3b95059706e..ed566b82685 100644 --- a/widget/android/AndroidBridge.h +++ b/widget/android/AndroidBridge.h @@ -322,7 +322,7 @@ public: enum { WINDOW_FORMAT_RGBA_8888 = 1, WINDOW_FORMAT_RGBX_8888 = 2, - WINDOW_FORMAT_RGB_565 = 4, + WINDOW_FORMAT_RGB_565 = 4 }; bool HasNativeWindowAccess();