aboutsummaryrefslogtreecommitdiff
path: root/image/codecs
diff options
context:
space:
mode:
authorPaul Gilbert2017-09-04 09:16:59 -0400
committerPaul Gilbert2017-09-04 09:16:59 -0400
commit0b19ebe7b239a8e685832c0a5c316e75cd4c557b (patch)
tree60eebc4acb865b5ef7df73cae5a4d366cf461bb9 /image/codecs
parentf36f3942ea1e8109ded3d36bb50af2ec79f64016 (diff)
downloadscummvm-rg350-0b19ebe7b239a8e685832c0a5c316e75cd4c557b.tar.gz
scummvm-rg350-0b19ebe7b239a8e685832c0a5c316e75cd4c557b.tar.bz2
scummvm-rg350-0b19ebe7b239a8e685832c0a5c316e75cd4c557b.zip
IMAGE: Fix shadowing warning
Diffstat (limited to 'image/codecs')
-rw-r--r--image/codecs/indeo/get_bits.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/image/codecs/indeo/get_bits.h b/image/codecs/indeo/get_bits.h
index f972e68ae0..a930f43cb5 100644
--- a/image/codecs/indeo/get_bits.h
+++ b/image/codecs/indeo/get_bits.h
@@ -35,10 +35,8 @@ class GetBits : public Common::BitStreamMemory8LSB {
public:
/**
* Constructor
- * @param stream Source stream to reader from
- * @param disposeAfterUse Whether to destroy stream in destructor
*/
- GetBits(const uint8 *ptr, uint32 size) : Common::BitStreamMemory8LSB(new Common::BitStreamMemoryStream(ptr, size), DisposeAfterUse::YES) {}
+ GetBits(const byte *dataPtr, uint32 dataSize) : Common::BitStreamMemory8LSB(new Common::BitStreamMemoryStream(dataPtr, dataSize), DisposeAfterUse::YES) {}
/**
* The number of bits left