Skip to content

Commit

Permalink
cpl_vsil_unix_stdio_64.cpp: avoid compiler warning about calling ftel…
Browse files Browse the repository at this point in the history
…lo() on nullptr
  • Loading branch information
rouault committed Mar 16, 2024
1 parent cc984f8 commit 40e9983
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion port/cpl_vsil_unix_stdio_64.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@

#ifndef BUILD_WITHOUT_64BIT_OFFSET
// Ensure we have working 64 bit API
static_assert(sizeof(VSI_FTELL64(nullptr)) == sizeof(vsi_l_offset),
static_assert(sizeof(VSI_FTELL64(stdout)) == sizeof(vsi_l_offset),
"File API does not seem to support 64-bit offset. "
"If you still want to build GDAL without > 4GB file support, "
"add the -DBUILD_WITHOUT_64BIT_OFFSET define");
Expand Down

0 comments on commit 40e9983

Please sign in to comment.