diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/console/vtxprintf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/console/vtxprintf.c b/src/console/vtxprintf.c index d20a387d44..5f37253e7d 100644 --- a/src/console/vtxprintf.c +++ b/src/console/vtxprintf.c @@ -228,7 +228,7 @@ repeat: if (!s) s = "<NULL>"; - len = strnlen(s, precision); + len = strnlen(s, (size_t)precision); if (!(flags & LEFT)) while (len < field_width--) |