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

    r21220 r42501  
    597597    psMetadata *header = psMetadataAlloc();
    598598
    599     sprintf (name, "RA--%s", &coords[0].ctype[4]);
     599    ps_snprintf_nowarn (name, 16, "RA--%s", &coords[0].ctype[4]);
    600600    psMetadataAddStr (header, PS_LIST_TAIL, "CTYPE1", PS_META_REPLACE, "", name);
    601     sprintf (name, "DEC-%s", &coords[0].ctype[4]);
     601    ps_snprintf_nowarn (name, 16, "DEC-%s", &coords[0].ctype[4]);
    602602    psMetadataAddStr (header, PS_LIST_TAIL, "CTYPE2", PS_META_REPLACE, "", name);
    603603
Note: See TracChangeset for help on using the changeset viewer.