Merge "keystore: use static_cast for conversion between void* and uinti8_t*" am: e260a43a7e
am: 0b7e649235
Change-Id: I48cc0cd45799c1dbdf05dac41a058f4196eb6d47
diff --git a/keystore/IKeystoreService.cpp b/keystore/IKeystoreService.cpp
index 5cfee80..9217fae 100644
--- a/keystore/IKeystoreService.cpp
+++ b/keystore/IKeystoreService.cpp
@@ -235,7 +235,7 @@
return false;
}
- blob->data = reinterpret_cast<const uint8_t*>(malloc(length));
+ blob->data = static_cast<const uint8_t*>(malloc(length));
if (!blob->data)
return false;