IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 20, 2018, 9:10:43 PM (8 years ago)
Author:
eugene
Message:

use ps_snprintf_nowarn function to avoid compiler optimization warnings triggered by overly-script gcc checking since 8.1

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psastro/src/psastroModelParseCamera.c

    r21409 r40553  
    2424    // but does not load the data)
    2525    for (int i = 0; i < nInput; i++) {
    26         char name[16];
    27         snprintf (name, 16, "INPUT.%d", i);
     26        char name[PS_SMALLWORD];
     27        ps_snprintf_nowarn (name, PS_SMALLWORD, "INPUT.%d", i);
    2828        input = pmFPAfileDefineFromArgs (&status, config, "PSASTRO.WCS", name);
    2929    }
Note: See TracChangeset for help on using the changeset viewer.