Remove more lint, mostly C-style casts.
Change-Id: Iaf1f23290e35ed48e5795fb20690953a9a834457
diff --git a/src/monitor_android.cc b/src/monitor_android.cc
index c1949ec..dc77b6d 100644
--- a/src/monitor_android.cc
+++ b/src/monitor_android.cc
@@ -37,14 +37,14 @@
static char* EventLogWriteInt(char* dst, int value) {
*dst++ = EVENT_TYPE_INT;
- Set4LE((uint8_t*) dst, value);
+ Set4LE(reinterpret_cast<uint8_t*>(dst), value);
return dst + 4;
}
static char* EventLogWriteString(char* dst, const char* value, size_t len) {
*dst++ = EVENT_TYPE_STRING;
len = len < 32 ? len : 32;
- Set4LE((uint8_t*) dst, len);
+ Set4LE(reinterpret_cast<uint8_t*>(dst), len);
dst += 4;
memcpy(dst, value, len);
return dst + len;