open-location-code
open-location-code copied to clipboard
C implementation: Fix compiler warnings
The C implementation currently has compiler warnings.
https://github.com/google/open-location-code/actions/runs/12468691641/job/34800362797
These are related to non-standard extensions implemented in our C implementation instead of what our specification requires.
Fixed at https://github.com/google/open-location-code/pull/651
That PR
- Fixes C build warnings from code issue
- Fixes C build warnings from Bazel issues
and results in no C build warnings
What are the warnings you want to address? Is it just?
warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare]
I wanted it to build clean with no warnings or errors as reported in GitHub actions