diff --git a/simgear/io/lowlevel.cxx b/simgear/io/lowlevel.cxx index 9ae5bb42..db861f0d 100644 --- a/simgear/io/lowlevel.cxx +++ b/simgear/io/lowlevel.cxx @@ -57,7 +57,7 @@ void sgReadChar ( gzFile fd, char *var ) { if ( gzread ( fd, var, sizeof(char) ) != sizeof(char) ) { throw sg_io_exception("sgReadChar: GZRead failed:" + gzErrorMessage(fd), - sg_location{thread_gzPath}, nullptr, false); + sg_location{thread_gzPath}, {}, false); } }