From 1c7f828d45be8abf451a9e08cc661e8045258ac0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Ra=C3=BAl=20Mar=C3=ADn=20Rodr=C3=ADguez?= Date: Fri, 21 Jun 2019 13:45:04 +0000 Subject: [PATCH] Address GCC 9 warning MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit shpopen.c:1757:22: error: ‘. Probably broken SHP file’ directive output may be truncated writing 26 bytes into a region of size between 25 and 48 [-Werror=format-truncation=] git-svn-id: http://svn.osgeo.org/postgis/trunk@17555 b70326c6-7e19-0410-871a-916f4a2858ee --- loader/shpopen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/loader/shpopen.c b/loader/shpopen.c index 160ec06d6..792f2d0be 100644 --- a/loader/shpopen.c +++ b/loader/shpopen.c @@ -1565,7 +1565,7 @@ SHPReadObject( SHPHandle psSHP, int hEntity ) { int32 nEntitySize, nRequiredSize; SHPObject *psShape; - char szErrorMsg[128]; + char szErrorMsg[130]; /* -------------------------------------------------------------------- */ /* Validate the record/entity number. */ -- 2.40.0