ref: 7dbdfbcef8ef069d7a8465a64f15f755c390ec11
parent: 8420fd34546e541abcb5b755cee816dc4e6e4374
author: Varun B Patil <varun.basavaraj.patil@gmail.com>
date: Sat Jan 25 19:34:28 EST 2014
Use correct format specifier to avoid compiler warnings
--- a/codec/encoder/core/src/wels_preprocess.cpp
+++ b/codec/encoder/core/src/wels_preprocess.cpp
@@ -112,7 +112,7 @@
void* shModule = NULL;
shModule = dlopen (WelsVPLib, RTLD_LAZY);
if (shModule == NULL)
- printf ("dlopen %s iRet=%x, err=%s\n", WelsVPLib, shModule, dlerror());
+ printf ("dlopen %s iRet=%p, err=%s\n", WelsVPLib, shModule, dlerror());
#endif
m_pVpLib = (void*)shModule;
@@ -156,7 +156,7 @@
void* shModule = m_pVpLib;
pFunc = (void*)dlsym (shModule, pName);
if (pFunc == NULL)
- printf ("dlsym %s iRet=%p, err=%s\n", shModule, pFunc, dlerror());
+ printf ("dlsym %p iRet=%p, err=%s\n", shModule, pFunc, dlerror());
#endif
}
#endif