summaryrefslogtreecommitdiff
path: root/src/blitter/null.cpp
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2013-10-06 19:38:36 +0000
committerfrosch <frosch@openttd.org>2013-10-06 19:38:36 +0000
commit640d39c001982e6bba7034b75ae0adef3ea4b9bb (patch)
treef91e9c65cfb29aaaaba7a24bc82b8a1ced2d378d /src/blitter/null.cpp
parent2d972cb418f17eb5515b3c805fe4aded94f6ed06 (diff)
downloadopenttd-640d39c001982e6bba7034b75ae0adef3ea4b9bb.tar.xz
(svn r25820) -Codechange: More const-ness.
Diffstat (limited to 'src/blitter/null.cpp')
-rw-r--r--src/blitter/null.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/blitter/null.cpp b/src/blitter/null.cpp
index 470b88354..1c2b379d1 100644
--- a/src/blitter/null.cpp
+++ b/src/blitter/null.cpp
@@ -15,7 +15,7 @@
/** Instantiation of the null blitter factory. */
static FBlitter_Null iFBlitter_Null;
-Sprite *Blitter_Null::Encode(SpriteLoader::Sprite *sprite, AllocatorProc *allocator)
+Sprite *Blitter_Null::Encode(const SpriteLoader::Sprite *sprite, AllocatorProc *allocator)
{
Sprite *dest_sprite;
dest_sprite = (Sprite *)allocator(sizeof(*dest_sprite));