Changeset 34089 for trunk/psLib/src/fits/psFitsTable.c
- Timestamp:
- Jun 26, 2012, 11:47:13 AM (14 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/fits/psFitsTable.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/fits/psFitsTable.c
r31152 r34089 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.
