add: case TIFF_SLONG:
context: int swap_value_field(IFDEntry &entry, swap_action swp){	switch (entry.fieldType) {		case TIFF_BYTE:		case TIFF_ASCII:		case TIFF_SBYTE:		case TIFF_UNDEFINED:			if (entry.count > 4) {				if (swap_data(B_UINT32_TYPE, &entry.longval, 4, swp) != B_OK)					return 0;			}			return 1;					case TIFF_LONG:		case TIFF_RATIONAL:		case TIFF_SRATIONAL:		case TIFF_DOUBLE:			if (swap_data(B_UINT32_TYPE, &entry.longval, 4, swp) != B_OK)				return 0;			return 1;					case TIFF_FLOAT:			if (swap_data(B_FLOAT_TYPE, &entry.floatval, 4, swp) != B_OK)				return 0;			return 1;					case TIFF_SHORT:		case TIFF_SSHORT:			if (entry.count <= 2) {				if (swap_data(B_UINT16_TYPE, &entry.shortvals,					entry.count * 2, swp) != B_OK)					return 0;			} else {				if (swap_data(B_UINT32_TYPE, &entry.longval, 4, swp) != B_OK)					return 0;			}							return 1;	}		// no error, but unknown type	return 2;}