IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 16, 2023, 8:42:18 AM (3 years ago)
Author:
eugene
Message:

fix tests to deal with API change to psPlaneTransformAlloc and the warnings from newer gcc version (sprintf -> ps_snprintf_nowarn); tests build (though many fail)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20230313/psModules/test/astrom/tap_pmAstrometryWCS_DVO.c

    r17036 r42501  
    470470    psMetadata *header = psMetadataAlloc();
    471471
    472     sprintf (name, "RA--%s", &coords[0].ctype[4]);
     472    ps_snprintf_nowarn (name, 16, "RA--%s", &coords[0].ctype[4]);
    473473    psMetadataAddStr (header, PS_LIST_TAIL, "CTYPE1", PS_META_REPLACE, "", name);
    474     sprintf (name, "DEC-%s", &coords[0].ctype[4]);
     474    ps_snprintf_nowarn (name, 16, "DEC-%s", &coords[0].ctype[4]);
    475475    psMetadataAddStr (header, PS_LIST_TAIL, "CTYPE2", PS_META_REPLACE, "", name);
    476476
Note: See TracChangeset for help on using the changeset viewer.