diff --git a/libril/ril.cpp b/libril/ril.cpp index 64fba2d..28fc4d7 100644 --- a/libril/ril.cpp +++ b/libril/ril.cpp @@ -296,7 +296,7 @@ static void writeStringToParcel(Parcel &p, const char *s) { char16_t *s16; size_t s16_len; s16 = strdup8to16(s, &s16_len); - p.writeString16(s16, s16_len); + p.writeString16((uint16_t*)s16, s16_len); free(s16); }