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

Fix false-positive compiler warning #3857

Merged
merged 1 commit into from
Aug 24, 2023

Commits on Aug 24, 2023

  1. Fix false-positive compiler warning

    Fixes the following false-positive warning of gcc (Ubuntu 11.4.0-1ubuntu1~22.04)
    11.4.0 in -m32 mode:
    ```
    /home/even/proj/proj/src/4D_api.cpp: In function 'int cs2cs_emulation_setup(PJ*)':
    /home/even/proj/proj/src/4D_api.cpp:949:64: warning: '%s' directive output between 9 and 2147483645 bytes may cause result to exceed 'INT_MAX' [-Wformat-truncation=]
      949 |                  "break_cs2cs_recursion     proj=helmert exact %s "
          |
    ```
    rouault committed Aug 24, 2023
    Configuration menu
    Copy the full SHA
    8b36c19 View commit details
    Browse the repository at this point in the history