Fix printf format specifier to match length of data type.

This commit is contained in:
Henry Gabryjelski committed 2019-10-05 18:03:59 -07:00
1 parent 4904ee5a9d
commit 31180ec404
1 file changed
+1 -1
+1 -1
View File
@@ -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