Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make warning #66

Open
dandv opened this issue Mar 20, 2023 · 0 comments
Open

make warning #66

dandv opened this issue Mar 20, 2023 · 0 comments

Comments

@dandv
Copy link

dandv commented Mar 20, 2023

$ 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant