summaryrefslogtreecommitdiff
path: root/indra/llimage/llimagetga.cpp
diff options
context:
space:
mode:
authorAnsariel <ansariel.hiller@phoenixviewer.com>2024-06-10 16:42:43 +0200
committerAnsariel <ansariel.hiller@phoenixviewer.com>2024-06-10 16:42:43 +0200
commitc0fad3028fd55c2067ce6a0ae4382cffe1014284 (patch)
tree1515516ba685b43c2b8dc97d3de62b782f61e7e2 /indra/llimage/llimagetga.cpp
parent37e4c6911902b9dcec0192e8bb93bbaeacb1d60a (diff)
Re-enable compiler warnings C4018, C4100, C4231 and C4506
Diffstat (limited to 'indra/llimage/llimagetga.cpp')
-rw-r--r--indra/llimage/llimagetga.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llimage/llimagetga.cpp b/indra/llimage/llimagetga.cpp
index 063ec3e763..25232b77aa 100644
--- a/indra/llimage/llimagetga.cpp
+++ b/indra/llimage/llimagetga.cpp
@@ -467,7 +467,7 @@ bool LLImageTGA::decodeTruecolorNonRle( LLImageRaw* raw_image, bool &alpha_opaqu
S32 pixels = getWidth() * getHeight();
- if (pixels * (mIs15Bit ? 2 : getComponents()) > getDataSize() - mDataOffset)
+ if (pixels * (mIs15Bit ? 2 : getComponents()) > getDataSize() - (S32)mDataOffset)
{ //here we have situation when data size in src less than actually needed
return false;
}