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_DVO2.c

    r21220 r42501  
    572572    psMetadata *header = psMetadataAlloc();
    573573
    574     sprintf (name, "RA--%s", &coords[0].ctype[4]);
     574    ps_snprintf_nowarn (name, 16, "RA--%s", &coords[0].ctype[4]);
    575575    psMetadataAddStr (header, PS_LIST_TAIL, "CTYPE1", PS_META_REPLACE, "", name);
    576     sprintf (name, "DEC-%s", &coords[0].ctype[4]);
     576    ps_snprintf_nowarn (name, 16, "DEC-%s", &coords[0].ctype[4]);
    577577    psMetadataAddStr (header, PS_LIST_TAIL, "CTYPE2", PS_META_REPLACE, "", name);
    578578
Note: See TracChangeset for help on using the changeset viewer.