Fix printf format specifier to match length of data type.

This commit is contained in:
Henry Gabryjelski committed 2019-10-05 18:02:09 -07:00
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;
}