opnsense-ports/games/flightgear-terragear/files/patch-tg_shapefile.cxx
Franco Fichtner 9ef8daf370 */*: sync with upstream
Taken from: HardenedBSD
2018-04-06 12:58:11 +02:00

11 lines
291 B
C++

--- src/Lib/terragear/tg_shapefile.cxx.orig 2017-10-07 06:58:20 UTC
+++ src/Lib/terragear/tg_shapefile.cxx
@@ -152,7 +152,7 @@
}
// close after each write
- if ( ds_id >= 0 ) {
+ if ( ds_id >= (void *)0 ) {
ds_id = tgShapefile::CloseDatasource( ds_id );
}
}