diff options
author | Max Horn | 2009-10-09 21:47:33 +0000 |
---|---|---|
committer | Max Horn | 2009-10-09 21:47:33 +0000 |
commit | 2e964baeef9a74d45090583b52419afa3c9c47bf (patch) | |
tree | 66106bd63ae8f9d7a1120d57344987856c961b56 /backends/platform/ps2/icon.cpp | |
parent | 6f1c43a7311d5e942f055087e307d6a537e159c6 (diff) | |
download | scummvm-rg350-2e964baeef9a74d45090583b52419afa3c9c47bf.tar.gz scummvm-rg350-2e964baeef9a74d45090583b52419afa3c9c47bf.tar.bz2 scummvm-rg350-2e964baeef9a74d45090583b52419afa3c9c47bf.zip |
Some const correctness changes; cleanup
svn-id: r44850
Diffstat (limited to 'backends/platform/ps2/icon.cpp')
-rw-r--r-- | backends/platform/ps2/icon.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/backends/platform/ps2/icon.cpp b/backends/platform/ps2/icon.cpp index 9b88d0bb68..48afc50c42 100644 --- a/backends/platform/ps2/icon.cpp +++ b/backends/platform/ps2/icon.cpp @@ -938,9 +938,9 @@ const uint8 _rleIcoData[14018] = { uint16 PS2Icon::decompressData(uint16 **data) { uint16 inPos = 1; - uint16 *rleData = (uint16*)_rleIcoData; + const uint16 *rleData = (const uint16 *)_rleIcoData; uint16 resSize = rleData[0]; - uint16 *resData = (uint16*)malloc(resSize * sizeof(uint16)); + uint16 *resData = (uint16 *)malloc(resSize * sizeof(uint16)); uint16 outPos = 0; while (outPos < resSize) { |