IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 1, 2016, 11:38:17 AM (10 years ago)
Author:
eugene
Message:

fix signed / unsigned inconsistencies; free memory in tablecomp.c test; drop tests for non-ansi-C %L-style formats

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ohana.20160226/src/libfits/test/imagecomp.c

    r38553 r39421  
    1717static int NY = 10;
    1818
    19 int main (int argc, char **argv) {
     19int main (void) {
    2020 
    2121  plan_tests (3*3*234);
     
    196196  }     
    197197
    198   int Ztile[2] = {NX, NY};
    199   ok (gfits_compress_image (&rawheader, &rawmatrix, &ftable, (int *) &Ztile, zcmptype), "compressed image");
     198  unsigned long int Ztile[2] = {NX, NY};
     199  ok (gfits_compress_image (&rawheader, &rawmatrix, &ftable, (unsigned long int *) &Ztile, zcmptype), "compressed image");
    200200  // ok (gfits_compress_image (&rawheader, &rawmatrix, &ftable, NULL, zcmptype), "compressed image");
    201201  ok (gfits_uncompress_image (&outheader, &outmatrix, &ftable), "uncompressed image");
Note: See TracChangeset for help on using the changeset viewer.