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_writemeta_unittest.cpp b/test/ipmi_writemeta_unittest.cpp
index d137880..dd9e742 100644
--- a/test/ipmi_writemeta_unittest.cpp
+++ b/test/ipmi_writemeta_unittest.cpp
@@ -30,7 +30,7 @@
req->offset = 0x100;
uint8_t expectedBytes[2] = {0x66, 0x67};
- std::memcpy(req->data, &expectedBytes[0], sizeof(expectedBytes));
+ std::memcpy(req + 1, &expectedBytes[0], sizeof(expectedBytes));
dataLen = sizeof(struct BmcBlobWriteMetaTx) + sizeof(expectedBytes);
@@ -59,7 +59,7 @@
req->offset = 0x100;
uint8_t expectedBytes[2] = {0x66, 0x67};
- std::memcpy(req->data, &expectedBytes[0], sizeof(expectedBytes));
+ std::memcpy(req + 1, &expectedBytes[0], sizeof(expectedBytes));
dataLen = sizeof(struct BmcBlobWriteMetaTx) + sizeof(expectedBytes);