ANDROID: Fix casting away const
This commit is contained in:
parent
add9010dbb
commit
21626c4ab4
1 changed files with 1 additions and 1 deletions
|
@ -755,7 +755,7 @@ void OSystem_Android::setMouseCursor(const void *buf, uint w, uint h,
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
uint16 *s = (uint16 *)buf;
|
const uint16 *s = (const uint16 *)buf;
|
||||||
uint16 *d = (uint16 *)tmp;
|
uint16 *d = (uint16 *)tmp;
|
||||||
for (uint16 y = 0; y < h; ++y, d += pitch / 2 - w)
|
for (uint16 y = 0; y < h; ++y, d += pitch / 2 - w)
|
||||||
for (uint16 x = 0; x < w; ++x, d++)
|
for (uint16 x = 0; x < w; ++x, d++)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue