diff options
author | Rahul Chaudhry <rahulchaudhry@google.com> | 2016-11-09 01:06:13 +0100 |
---|---|---|
committer | Rahul Chaudhry <rahulchaudhry@google.com> | 2016-11-09 01:34:01 +0100 |
commit | 4f7faac8d705317271e1d6aa773f00f05ca70848 (patch) | |
tree | b1c1b9cd076b26723d7455b3880052250d270ac8 /minui/graphics_fbdev.cpp | |
parent | Merge "Make make_parent() to take const argument" am: 52e2a97aa7 am: 1fd9f0aff7 am: 260573b3c2 (diff) | |
download | android_bootable_recovery-4f7faac8d705317271e1d6aa773f00f05ca70848.tar android_bootable_recovery-4f7faac8d705317271e1d6aa773f00f05ca70848.tar.gz android_bootable_recovery-4f7faac8d705317271e1d6aa773f00f05ca70848.tar.bz2 android_bootable_recovery-4f7faac8d705317271e1d6aa773f00f05ca70848.tar.lz android_bootable_recovery-4f7faac8d705317271e1d6aa773f00f05ca70848.tar.xz android_bootable_recovery-4f7faac8d705317271e1d6aa773f00f05ca70848.tar.zst android_bootable_recovery-4f7faac8d705317271e1d6aa773f00f05ca70848.zip |
Diffstat (limited to 'minui/graphics_fbdev.cpp')
-rw-r--r-- | minui/graphics_fbdev.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/minui/graphics_fbdev.cpp b/minui/graphics_fbdev.cpp index 0788f7552..631ef4e13 100644 --- a/minui/graphics_fbdev.cpp +++ b/minui/graphics_fbdev.cpp @@ -133,7 +133,7 @@ static GRSurface* fbdev_init(minui_backend* backend) { gr_framebuffer[0].height = vi.yres; gr_framebuffer[0].row_bytes = fi.line_length; gr_framebuffer[0].pixel_bytes = vi.bits_per_pixel / 8; - gr_framebuffer[0].data = reinterpret_cast<uint8_t*>(bits); + gr_framebuffer[0].data = static_cast<uint8_t*>(bits); memset(gr_framebuffer[0].data, 0, gr_framebuffer[0].height * gr_framebuffer[0].row_bytes); /* check if we can use double buffering */ |