We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 05b1291 + 58bd18b commit f5427b1Copy full SHA for f5427b1
fitsio/src/headers.rs
@@ -123,11 +123,11 @@ macro_rules! writes_key_impl_int {
123
}
124
125
writes_key_impl_int!(i8, DataType::TSBYTE);
126
-writes_key_impl_int!(i16, DataType::TINT);
+writes_key_impl_int!(i16, DataType::TSHORT);
127
writes_key_impl_int!(i32, DataType::TINT);
128
writes_key_impl_int!(i64, DataType::TLONG);
129
writes_key_impl_int!(u8, DataType::TBYTE);
130
-writes_key_impl_int!(u16, DataType::TUINT);
+writes_key_impl_int!(u16, DataType::TUSHORT);
131
writes_key_impl_int!(u32, DataType::TUINT);
132
writes_key_impl_int!(u64, DataType::TULONG);
133
0 commit comments