From dca8c7facdf5fa4d2cdb1d84c751eeeab415bcae Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Thu, 11 Jun 2020 01:59:21 +0000 Subject: [PATCH] iscsi-scstd: Fix a gcc 10 compiler warning (merge r8954 from trunk) git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.4.x@9007 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- iscsi-scst/usr/isns_proto.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iscsi-scst/usr/isns_proto.h b/iscsi-scst/usr/isns_proto.h index 5a86b39a8..84438f9cd 100644 --- a/iscsi-scst/usr/isns_proto.h +++ b/iscsi-scst/usr/isns_proto.h @@ -38,7 +38,7 @@ struct isns_hdr { struct isns_tlv { uint32_t tag; uint32_t length; - uint32_t value[0]; + uint32_t value[]; } __attribute__ ((packed)); /* Commands and responses (4.1.3) */