Skip to content

Commit 9c093d0

Browse files
committed
maybe fix starts.cpp for gdal3.6?
1 parent ca3a5ff commit 9c093d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/stars.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -517,7 +517,7 @@ void CPL_write_gdal(NumericMatrix x, CharacterVector fname, CharacterVector driv
517517
eType = GDT_Byte; // #nocov
518518
#if GDAL_VERSION_NUM >= 3070000
519519
else if (Type[0] == "Int8")
520-
eType = GDT_Int8; // #nocov
520+
eType = GDT_Byte; // #nocov
521521
#endif
522522
else if (Type[0] == "UInt16")
523523
eType = GDT_UInt16; // #nocov

0 commit comments

Comments
 (0)