summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorandroid-build-prod (mdb) <android-build-team-robot@google.com>2017-11-01 22:43:26 +0000
committerandroid-build-prod (mdb) <android-build-team-robot@google.com>2017-11-01 22:43:26 +0000
commit39d1943437dd9ce46699f3f51044b199506cf427 (patch)
tree26a4e9cd50d861118d4af3951b5292663fcbe162
parent9d15c1c031fdf9cd4fa153e76245d7a5f8b82ed8 (diff)
parentbfc9bda74643eedd4414e996d2a089a36d9acb24 (diff)
downloadlibstagefrighthw-sdk-release.tar.gz
Snap for 4429331 from bfc9bda74643eedd4414e996d2a089a36d9acb24 to sdk-releasesdk-release
Change-Id: Ic8111364873e1c417d9f462260efd9171049b6a9
-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);