Merge "Suppress clang -Wc++11-narrowing warnings."
diff --git a/Android.mk b/Android.mk
index 6c71d0c..5fe3a68 100644
--- a/Android.mk
+++ b/Android.mk
@@ -9,6 +9,9 @@
         $(LOCAL_PATH)/cxcore/include
 LOCAL_CFLAGS := $(LOCAL_C_INCLUDES:%=-I%)
 
+# cxmathfuncs.cpp has implicit cast of int struct fields.
+LOCAL_CLANG_CFLAGS += -Wno-c++11-narrowing
+
 LOCAL_SRC_FILES := \
         cxcore/src/cxalloc.cpp \
         cxcore/src/cxarithm.cpp \
@@ -234,6 +237,9 @@
 
 LOCAL_CFLAGS := $(LOCAL_C_INCLUDES:%=-I%) -DHAVE_JPEG
 
+# grfmt_tiff.cpp has implicit cast of int struct fields.
+LOCAL_CLANG_CFLAGS += -Wno-c++11-narrowing
+
 LOCAL_SRC_FILES := \
         otherlibs/highgui/bitstrm.cpp \
         otherlibs/highgui/grfmt_base.cpp \