Fix compilation warning in hardware/intel/commom/libstagefrighthw

Bug: 33000585
BZ: IMINAN-51251

Change-Id: Icc3aad196a327c490c121aea55ff7ddcc55c09ad
Tracked-On:
Signed-off-by: Yimei Sun <yimei.sun@intel.com>
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);