Skip to content

Commit

Permalink
nitfdump.c: fix warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
rouault committed Sep 22, 2024
1 parent b51f137 commit 453ab82
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frmts/nitf/nitfdump.c
Original file line number Diff line number Diff line change
Expand Up @@ -628,10 +628,10 @@ int main(int nArgc, char **papszArgv)
EQUAL(CSLFetchNameValueDef(psDES->papszMetadata, "DESID", ""),
"CSSHPA DES"))
{
char szFilename[40];
char szFilename[512];
char szRadix[256];
if (bExtractSHPInMem)
snprintf(szRadix, sizeof(szRadix),
snprintf(szRadix, sizeof(szRadix), "%s",
VSIMemGenerateHiddenFilename(
CPLSPrintf("nitf_segment_%d", iSegment + 1)));
else
Expand Down

0 comments on commit 453ab82

Please sign in to comment.