Fix printf format specifier to match length of data type.
This commit is contained in:
1 parent
f3cc656b4c
commit
f0f6b1041a
1 file changed
+1
-1
@@ -179,7 +179,7 @@ const char* dbg_strerr_lfs (int32_t err)
|
||||
|
||||
default:
|
||||
static char errcode[10];
|
||||
sprintf(errcode, "%d", err);
|
||||
sprintf(errcode, "%ld", err);
|
||||
return errcode;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user