Commit eb44d814 authored by Chad Brubaker's avatar Chad Brubaker Committed by android-build-merger
Browse files

Merge "keystore: use static_cast for conversion between void* and uinti8_t*" am: e260a43a

am: 0b7e6492

Change-Id: I48cc0cd45799c1dbdf05dac41a058f4196eb6d47
parents 26457f43 0b7e6492
......@@ -235,7 +235,7 @@ static bool readKeymasterBlob(const Parcel& in, keymaster_blob_t* blob) {
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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment