Skip to content

Commit 31180ec

Browse files
committed
Fix printf format specifier to match length of data type.
1 parent 4904ee5 commit 31180ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cores/nRF5/verify.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ extern "C"
6262
do { \
6363
const char* (*_fstr)(int32_t) = _funcstr;\
6464
printf("%s: %d: verify failed, error = ", __PRETTY_FUNCTION__, __LINE__);\
65-
if (_fstr) printf(_fstr(_status)); else printf("%d", _status);\
65+
if (_fstr) printf(_fstr(_status)); else printf("%ld", _status);\
6666
printf("\n");\
6767
}while(0)
6868
#else

0 commit comments

Comments
 (0)