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