IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 26, 2012, 11:47:13 AM (14 years ago)
Author:
eugene
Message:

changes to support pedantic gcc warnings; add configure option for debug-build and no-as-needed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/fits/psFitsTable.c

    r31152 r34089  
    511511                colSpec *spec = psAlloc(sizeof(colSpec)); // Specification for this column
    512512                // BOOL type is not a valid vector type, so we translate it to U8
    513                 spec->type = colItem->type == PS_TYPE_BOOL ? PS_TYPE_U8 : colItem->type;
     513                spec->type = colItem->type == PS_DATA_BOOL ? PS_DATA_U8 : colItem->type;
    514514                spec->size = size;
    515515                if (colItem->type == PS_DATA_VECTOR) {
     
    526526                }
    527527                if (colItem->type != spec->type &&
    528                     colItem->type != PS_TYPE_BOOL && spec->type != PS_TYPE_U8) {
     528                    colItem->type != PS_DATA_BOOL && spec->type != PS_DATA_U8) {
    529529                    psWarning("Differing type found for column %s: %x vs %x --- using the first found.\n",
    530530                              colSpecItem->name, colItem->type, spec->type);
Note: See TracChangeset for help on using the changeset viewer.