From f2f44dfce609b7f5b228e61829d454b5c8c2734a Mon Sep 17 00:00:00 2001 From: Aldrik Ramaekers Date: Thu, 14 Mar 2024 19:38:21 +0100 Subject: more static analysis fixes --- src/export.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/export.cpp') diff --git a/src/export.cpp b/src/export.cpp index 493c978..4e316c4 100644 --- a/src/export.cpp +++ b/src/export.cpp @@ -152,7 +152,7 @@ static bool _ts_export_csv(ts_search_result* result, const utf8_int8_t* path) { fprintf(write_file, "FILE,%s\n", match->file->path); } - fprintf(write_file, "MATCH,%d,%zu,%zu,%s\n", match->line_nr, match->word_match_length, match->word_match_offset, match->line_info); + fprintf(write_file, "MATCH,%u,%zu,%zu,%s\n", match->line_nr, match->word_match_length, match->word_match_offset, match->line_info); } fclose(write_file); -- cgit v1.2.3-70-g09d2