diff options
author | Bertrand Augereau | 2008-07-12 20:35:44 +0000 |
---|---|---|
committer | Bertrand Augereau | 2008-07-12 20:35:44 +0000 |
commit | 5de579930d9ff33c2e7eeb1c267d3ef61227e558 (patch) | |
tree | 1b9c645bf473cbfe307e2618a8de6209648ee717 | |
parent | c1ec21d999253d86513ce66876c692be198b91c0 (diff) | |
download | scummvm-rg350-5de579930d9ff33c2e7eeb1c267d3ef61227e558.tar.gz scummvm-rg350-5de579930d9ff33c2e7eeb1c267d3ef61227e558.tar.bz2 scummvm-rg350-5de579930d9ff33c2e7eeb1c267d3ef61227e558.zip |
Minor constness fix to help with aliasing
svn-id: r33017
-rw-r--r-- | engines/gob/driver_vga.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/gob/driver_vga.cpp b/engines/gob/driver_vga.cpp index f68ce47783..2d3a10b570 100644 --- a/engines/gob/driver_vga.cpp +++ b/engines/gob/driver_vga.cpp @@ -112,7 +112,7 @@ void VGAVideoDriver::drawSprite(SurfaceDesc *source, SurfaceDesc *dest, if ((width < 1) || (height < 1)) return; - byte *srcPos = source->getVidMem() + (top * source->getWidth()) + left; + const byte *srcPos = source->getVidMem() + (top * source->getWidth()) + left; byte *destPos = dest->getVidMem() + (y * dest->getWidth()) + x; uint32 size = width * height; |