ipmi: Remove non-standard c++ array syntax
Change-Id: I1c62222ab8584ffc5af6d99c80b93f5e93b4e26f
Signed-off-by: William A. Kennington III <wak@google.com>
diff --git a/test/ipmi_commit_unittest.cpp b/test/ipmi_commit_unittest.cpp
index 37ec769..d4b9c58 100644
--- a/test/ipmi_commit_unittest.cpp
+++ b/test/ipmi_commit_unittest.cpp
@@ -100,7 +100,7 @@
req->crc = 0;
req->sessionId = 0x54;
req->commitDataLen = sizeof(expectedBlob);
- std::memcpy(req->commitData, &expectedBlob[0], sizeof(expectedBlob));
+ std::memcpy(req + 1, &expectedBlob[0], sizeof(expectedBlob));
dataLen = sizeof(struct BmcBlobCommitTx) + sizeof(expectedBlob);