summaryrefslogtreecommitdiff
path: root/src/export.cpp
diff options
context:
space:
mode:
authorAldrik Ramaekers <aldrikboy@gmail.com>2024-03-14 19:38:21 +0100
committerAldrik Ramaekers <aldrikboy@gmail.com>2024-03-14 19:38:21 +0100
commitf2f44dfce609b7f5b228e61829d454b5c8c2734a (patch)
treea792158a6e946b9f2ed0769c6da1df9b4e93c356 /src/export.cpp
parentf2b44f582dbb9d898e6aad1db6919b5a295815be (diff)
more static analysis fixes
Diffstat (limited to 'src/export.cpp')
-rw-r--r--src/export.cpp2
1 files changed, 1 insertions, 1 deletions
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);