diff options
author | Rahul Chaudhry <rahulchaudhry@google.com> | 2016-11-16 22:45:03 +0100 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2016-11-16 22:45:03 +0100 |
commit | 6a6e54da0448c6d111d1bac64fdf3a744e503f8c (patch) | |
tree | 9b8b6868aca953bc91a8abbd9ce1d5ae684d4929 /minui/graphics.cpp | |
parent | Merge "Use static_cast to cast pointers returned by malloc/calloc/realloc/mmap." am: 0bedc8e14c (diff) | |
parent | Merge "Remove unnecessary uses of reinterpret_cast." (diff) | |
download | android_bootable_recovery-6a6e54da0448c6d111d1bac64fdf3a744e503f8c.tar android_bootable_recovery-6a6e54da0448c6d111d1bac64fdf3a744e503f8c.tar.gz android_bootable_recovery-6a6e54da0448c6d111d1bac64fdf3a744e503f8c.tar.bz2 android_bootable_recovery-6a6e54da0448c6d111d1bac64fdf3a744e503f8c.tar.lz android_bootable_recovery-6a6e54da0448c6d111d1bac64fdf3a744e503f8c.tar.xz android_bootable_recovery-6a6e54da0448c6d111d1bac64fdf3a744e503f8c.tar.zst android_bootable_recovery-6a6e54da0448c6d111d1bac64fdf3a744e503f8c.zip |
Diffstat (limited to '')
-rw-r--r-- | minui/graphics.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/minui/graphics.cpp b/minui/graphics.cpp index 0680c32bb..dcca3ec41 100644 --- a/minui/graphics.cpp +++ b/minui/graphics.cpp @@ -306,7 +306,7 @@ static void gr_init_font(void) gr_font->texture->pixel_bytes = 1; unsigned char* bits = static_cast<unsigned char*>(malloc(font.width * font.height)); - gr_font->texture->data = reinterpret_cast<unsigned char*>(bits); + gr_font->texture->data = bits; unsigned char data; unsigned char* in = font.rundata; |