test_library: suppress size_t -> int warning

getopt: suppress `-Wdeprecated-non-prototype` warnings
This commit is contained in:
gitlost 2024-05-28 02:39:49 +01:00
parent eb035a6372
commit a1aefdc50b
3 changed files with 5 additions and 3 deletions

View file

@ -683,7 +683,7 @@ static void test_escape_char_process_test(const testCtx *const p_ctx) {
symbol.symbology = data[i].symbology;
symbol.input_mode = data[i].input_mode;
length = strlen(data[i].data);
length = (int) strlen(data[i].data);
escaped_len = length;
ret = escape_char_process_test(&symbol, (unsigned char *) data[i].data, &escaped_len, NULL);