summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Android.mk2
-rw-r--r--WrsOMXPlugin.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/Android.mk b/Android.mk
index 6837852..c5f4d93 100644
--- a/Android.mk
+++ b/Android.mk
@@ -7,7 +7,7 @@ LOCAL_SRC_FILES := \
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 @@ OMX_ERRORTYPE WrsOMXPlugin::AddCore(const char* coreName)
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);