diff --git a/src/obidmscolumn.c b/src/obidmscolumn.c index f475c73..c774a72 100644 --- a/src/obidmscolumn.c +++ b/src/obidmscolumn.c @@ -566,7 +566,7 @@ OBIDMS_column_p obi_create_column(OBIDMS_p dms, obidebug(1, "\nCan't create column because of empty column name"); return NULL; } - if ((data_type < 1) || (data_type > 7)) + if ((data_type < 1) || (data_type > 8)) // TODO check in more robust way { obidebug(1, "\nCan't create column because of invalid data type"); return NULL;