Merge "keystore: use static_cast for conversion between void* and uinti8_t*" am: e260a43a7e am: 0b7e649235
am: eb44d8146b
Change-Id: I1abb3aeb1f19705ffd5448a78d82878b0df565ec
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;