Fix printf format specifier to match length of data type.
This commit is contained in:
1 parent
4904ee5a9d
commit
31180ec404
1 file changed
+1
-1
+1
-1
@@ -62,7 +62,7 @@ extern "C"
|
||||
do { \
|
||||
const char* (*_fstr)(int32_t) = _funcstr;\
|
||||
printf("%s: %d: verify failed, error = ", __PRETTY_FUNCTION__, __LINE__);\
|
||||
if (_fstr) printf(_fstr(_status)); else printf("%d", _status);\
|
||||
if (_fstr) printf(_fstr(_status)); else printf("%ld", _status);\
|
||||
printf("\n");\
|
||||
}while(0)
|
||||
#else
|
||||
|
||||
Reference in new issue
Block a user