Diff between f8f2962334a6fd75a2ee9f48983d3898fcf85928 and df66caf9b391e340214aedc43b7341dffbe91a31
Changed Files
| File | Additions | Deletions | Status |
| profiles/sap/sap.h | +2 | -2 | modified |
Full Patch
diff --git a/profiles/sap/sap.h b/profiles/sap/sap.h
index 16c333a..6e78d6c 100644
--- a/profiles/sap/sap.h
+++ b/profiles/sap/sap.h
@@ -76,7 +76,7 @@ struct sap_parameter {
uint8_t id;
uint8_t reserved;
uint16_t len;
- uint8_t val[0];
+ uint8_t val[];
/*
* Padding bytes 0-3 bytes
*/
@@ -86,7 +86,7 @@ struct sap_message {
uint8_t id;
uint8_t nparam;
uint16_t reserved;
- struct sap_parameter param[0];
+ struct sap_parameter param[];
} __attribute__((packed));
#define SAP_BUF_SIZE 512