summaryrefslogtreecommitdiffstats
path: root/src/util.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/util.c')
-rw-r--r--src/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util.c b/src/util.c
index 5ba450a..8758742 100644
--- a/src/util.c
+++ b/src/util.c
@@ -302,7 +302,7 @@ lilv_find_free_path(const char* in_path,
char* path = (char*)malloc(in_path_len + 7);
memcpy(path, in_path, in_path_len + 1);
- for (int i = 2; i < 1000000; ++i) {
+ for (unsigned i = 2; i < 1000000u; ++i) {
if (!exists(path, user_data)) {
return path;
}