diff options
author | Dan Albert <danalbert@google.com> | 2015-02-20 13:53:55 -0800 |
---|---|---|
committer | Dan Albert <danalbert@google.com> | 2015-02-20 13:53:55 -0800 |
commit | ce70dcd9a00883626adc4def15776639428625d9 (patch) | |
tree | ec5909482ac392e6bfa2dc5e94ab63f8ae741aec /ISV/omx/isv_omxcore.cpp | |
parent | e5aad73d4992d6c8fbd9e9e3c9cc89abfc83b775 (diff) | |
download | utils-c5c84d1c1b9afaf3bb9ec0b3139493e5ed0c2978.tar.gz |
Fix a whole bunch of format strings.android-wear-5.1.1_r1android-wear-5.1.0_r1android-m-preview-1android-m-previewmaster-soong
Change-Id: I1e845053f614c757f727ca09d3da7bf14d89bcab
Diffstat (limited to 'ISV/omx/isv_omxcore.cpp')
-rw-r--r-- | ISV/omx/isv_omxcore.cpp | 9 |
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; } |