From 7bc4e863e0e5651d935a9493768c75bc96c19611 Mon Sep 17 00:00:00 2001 From: Chris Hofer <11477689+zeehha@users.noreply.github.com> Date: Tue, 8 Apr 2025 15:09:00 +0200 Subject: [PATCH] fix: signed/unsigned integer comparison warning Closes #66 --- adbfs.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/adbfs.cpp b/adbfs.cpp index 32e469c..6d51abd 100644 --- a/adbfs.cpp +++ b/adbfs.cpp @@ -962,7 +962,7 @@ static int adb_readlink(const char *path, char *buf, size_t size) queue output; // get the number of slashes in the path - int num_slashes, ii; + size_t num_slashes, ii; for (num_slashes = ii = 0; ii < strlen(path); ii++) if (path[ii] == '/') num_slashes++;