Skip to content

Commit

Permalink
fixes #2033
Browse files Browse the repository at this point in the history
  • Loading branch information
edzer committed Nov 9, 2022
1 parent 18bd9c2 commit 3fd70c9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/stars.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -507,6 +507,10 @@ void CPL_write_gdal(NumericMatrix x, CharacterVector fname, CharacterVector driv
stop("Type should have length 1"); // #nocov
if (Type[0] == "Byte")
eType = GDT_Byte; // #nocov
#if GDAL_VERSION_NUM >= 3070000
else if (Type[0] == "Int8")
eType = GDT_Int8; // #nocov
#endif
else if (Type[0] == "UInt16")
eType = GDT_UInt16; // #nocov
else if (Type[0] == "Int16")
Expand Down

0 comments on commit 3fd70c9

Please sign in to comment.