mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-13 21:31:53 +00:00
Fixed MSVC compiler warning
svn-id: r38960
This commit is contained in:
parent
3bfc345350
commit
d3b2a4ede9
@ -240,7 +240,7 @@ void Mouse::createPointer(uint32 ptrId, uint32 luggageId) {
|
||||
for (uint32 frameCnt = 0; frameCnt < noFrames; frameCnt++) {
|
||||
uint8 *luggSrc = (uint8*)lugg + sizeof(MousePtr);
|
||||
dstData += (resSizeY - luggSizeY) * resSizeX;
|
||||
for (uint32 cnty = 0; cnty < (SwordEngine::isPsx() ? luggSizeY / 2 : luggSizeY); cnty++) {
|
||||
for (uint32 cnty = 0; cnty < (uint32)(SwordEngine::isPsx() ? luggSizeY / 2 : luggSizeY); cnty++) {
|
||||
for (uint32 cntx = 0; cntx < luggSizeX; cntx++)
|
||||
if (luggSrc[cntx])
|
||||
dstData[cntx] = luggSrc[cntx];
|
||||
@ -262,7 +262,7 @@ void Mouse::createPointer(uint32 ptrId, uint32 luggageId) {
|
||||
uint8 *dstData = ptrData;
|
||||
uint8 *srcData = (uint8*)ptr + sizeof(MousePtr);
|
||||
for (uint32 frameCnt = 0; frameCnt < noFrames; frameCnt++) {
|
||||
for (uint32 cnty = 0; cnty < (SwordEngine::isPsx() ? ptrSizeY / 2 : ptrSizeY); cnty++) {
|
||||
for (uint32 cnty = 0; cnty < (uint32)(SwordEngine::isPsx() ? ptrSizeY / 2 : ptrSizeY); cnty++) {
|
||||
for (uint32 cntx = 0; cntx < ptrSizeX; cntx++)
|
||||
if (srcData[cntx])
|
||||
dstData[cntx] = srcData[cntx];
|
||||
|
Loading…
Reference in New Issue
Block a user