- Timestamp:
- Jun 20, 2012, 7:07:44 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20120601/psLib/src/fits/psFitsTable.c
r31152 r34045 511 511 colSpec *spec = psAlloc(sizeof(colSpec)); // Specification for this column 512 512 // 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; 514 514 spec->size = size; 515 515 if (colItem->type == PS_DATA_VECTOR) { … … 526 526 } 527 527 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) { 529 529 psWarning("Differing type found for column %s: %x vs %x --- using the first found.\n", 530 530 colSpecItem->name, colItem->type, spec->type);
Note:
See TracChangeset
for help on using the changeset viewer.
