Snap for 4429331 from bfc9bda74643eedd4414e996d2a089a36d9acb24 to sdk-release

Change-Id: Ic8111364873e1c417d9f462260efd9171049b6a9
diff --git a/Android.mk b/Android.mk
index 6837852..c5f4d93 100644
--- a/Android.mk
+++ b/Android.mk
@@ -7,7 +7,7 @@
     WrsOMXPlugin.cpp
 
 
-LOCAL_CFLAGS := $(PV_CFLAGS_MINUS_VISIBILITY)
+LOCAL_CFLAGS := $(PV_CFLAGS_MINUS_VISIBILITY) -Werror
 
 #enable log
 #LOCAL_CFLAGS += -DLOG_NDEBUG=0
diff --git a/WrsOMXPlugin.cpp b/WrsOMXPlugin.cpp
index 7bc2e4a..d3bb712 100644
--- a/WrsOMXPlugin.cpp
+++ b/WrsOMXPlugin.cpp
@@ -92,7 +92,7 @@
             ALOGI("OMX IL core %s: declares component %s", coreName, tmpComponentName);
             }
             core->mNumComponents = tmpIndex;
-            ALOGI("OMX IL core %s: contains %ld components", coreName, core->mNumComponents);
+            ALOGI("OMX IL core %s: contains %u components", coreName, core->mNumComponents);
         }
         // add plugin to the vector
         mCores.push_back(core);