spion / adbfs-rootless

Mount Android phones on Linux with adb. No root required.
Other
908 stars 73 forks source link

make warning #66

Open dandv opened 1 year ago

dandv commented 1 year ago
$ make
g++ -c -o adbfs.o adbfs.cpp -Wall -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse
adbfs.cpp: In function ‘int adb_readlink(const char*, char*, size_t)’:
adbfs.cpp:966:35: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
  966 |     for (num_slashes = ii = 0; ii < strlen(path); ii++)
      |                                ~~~^~~~~~~~~~~~~~
g++ -o adbfs adbfs.o -Wall -lfuse -pthread