summaryrefslogtreecommitdiff
path: root/ISV/omx/isv_omxcore.cpp
diff options
context:
space:
mode:
authorDan Albert <danalbert@google.com>2015-02-20 13:53:55 -0800
committerDan Albert <danalbert@google.com>2015-02-20 13:53:55 -0800
commitce70dcd9a00883626adc4def15776639428625d9 (patch)
treeec5909482ac392e6bfa2dc5e94ab63f8ae741aec /ISV/omx/isv_omxcore.cpp
parente5aad73d4992d6c8fbd9e9e3c9cc89abfc83b775 (diff)
downloadutils-c5c84d1c1b9afaf3bb9ec0b3139493e5ed0c2978.tar.gz
Change-Id: I1e845053f614c757f727ca09d3da7bf14d89bcab
Diffstat (limited to 'ISV/omx/isv_omxcore.cpp')
-rw-r--r--ISV/omx/isv_omxcore.cpp9
1 files changed, 7 insertions, 2 deletions
diff --git a/ISV/omx/isv_omxcore.cpp b/ISV/omx/isv_omxcore.cpp
index 5f6933b..486fcca 100644
--- a/ISV/omx/isv_omxcore.cpp
+++ b/ISV/omx/isv_omxcore.cpp
@@ -15,6 +15,8 @@
*
*/
+#include <inttypes.h>
+
#include <OMX_Core.h>
#include <OMX_Component.h>
#include <dlfcn.h>
@@ -93,7 +95,9 @@ OMX_API OMX_ERRORTYPE OMX_APIENTRY OMX_Init(void)
}
g_cores[i].mNumComponents = tmpIndex;
g_nr_comp += g_cores[i].mNumComponents;
- ALOGD_IF(ISV_CORE_DEBUG, "OMX IL core: contains %ld components", g_cores[i].mNumComponents);
+ ALOGD_IF(ISV_CORE_DEBUG,
+ "OMX IL core: contains %" PRIu32 " components",
+ g_cores[i].mNumComponents);
}
} else {
pthread_mutex_unlock(&g_module_lock);
@@ -151,7 +155,8 @@ OMX_API OMX_ERRORTYPE OMX_APIENTRY OMX_ComponentNameEnum(
}
if (relativeIndex < g_cores[i].mNumComponents) {
pthread_mutex_unlock(&g_module_lock);
- ALOGD_IF(ISV_CORE_DEBUG, "%s: found %luth component %s", __func__, nIndex, cComponentName);
+ ALOGD_IF(ISV_CORE_DEBUG, "%s: found %" PRIu32 "th component %s",
+ __func__, nIndex, cComponentName);
return ((*(g_cores[i].mComponentNameEnum))(cComponentName, nNameLength, relativeIndex));
} else relativeIndex -= g_cores[i].mNumComponents;
}