diff options
author | Martin Storsjö <martin@martin.st> | 2019-02-07 16:19:45 +0300 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2019-02-08 01:28:46 +0300 |
commit | e3d028fb9b56a0553564b504726515b23582f7b4 (patch) | |
tree | a78bd6c02cd3c4879707b635b4997541f109f58f /tools/input | |
parent | 95233f9e9f688243cc3fd863c76c68a1e0821170 (diff) |
Use size_t as return value type for strlen() consistently
Diffstat (limited to 'tools/input')
-rw-r--r-- | tools/input/input.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/input/input.c b/tools/input/input.c index d4d8ad7..7837e46 100644 --- a/tools/input/input.c +++ b/tools/input/input.c @@ -57,7 +57,7 @@ void init_demuxers(void) { } static const char *find_extension(const char *const f) { - const int l = strlen(f); + const size_t l = strlen(f); if (l == 0) return NULL; |