Skip to content

android: fix 32-bit build under -Wsign-compare#1732

Open
hukeyue wants to merge 1 commit intochriskohlhoff:masterfrom
hukeyue:android_32_build
Open

android: fix 32-bit build under -Wsign-compare#1732
hukeyue wants to merge 1 commit intochriskohlhoff:masterfrom
hukeyue:android_32_build

Conversation

@hukeyue
Copy link
Copy Markdown

@hukeyue hukeyue commented Mar 29, 2026

/home/runner/work/yass/yass/third_party/asio/include/asio/ip/basic_resolver_results.hpp:140:38: error: comparison of integers of different signs: 'socklen_t' (aka 'int') and 'const std::size_t' (aka 'const unsigned int') [-Werror,-Wsign-compare]
140 | if (address_info->ai_addrlen >= expected_size)

See https://github.com/hukeyue/yass/actions/runs/23698886199/job/69038926969#step:18:1790 for more.

截屏2026-03-29 10 06 43

  /home/runner/work/yass/yass/third_party/asio/include/asio/ip/basic_resolver_results.hpp:140:38: error: comparison of integers of different signs: 'socklen_t' (aka 'int') and 'const std::size_t' (aka 'const unsigned int') [-Werror,-Wsign-compare]
    140 |         if (address_info->ai_addrlen >= expected_size)
@hukeyue hukeyue changed the title android: fix 32-bit build android: fix 32-bit build under -Wsign-compare Mar 29, 2026
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

Successfully merging this pull request may close these issues.

1 participant