mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-09 03:10:22 +00:00
SCI: Fix shadowing warning
This commit is contained in:
parent
c76c052259
commit
ec08412925
@ -508,11 +508,11 @@ public:
|
|||||||
* Returns the maximum number of bytes that can be stored in the array.
|
* Returns the maximum number of bytes that can be stored in the array.
|
||||||
*/
|
*/
|
||||||
uint16 byteSize() const {
|
uint16 byteSize() const {
|
||||||
uint16 size = _size;
|
uint16 size1 = _size;
|
||||||
if (_type == kArrayTypeID || _type == kArrayTypeInt16) {
|
if (_type == kArrayTypeID || _type == kArrayTypeInt16) {
|
||||||
size *= sizeof(uint16);
|
size1 *= sizeof(uint16);
|
||||||
}
|
}
|
||||||
return size;
|
return size1;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user