MSC warnings fixed, CtrlLib: .lay UNTYPED now without properties

This commit is contained in:
Mirek Fidler 2022-05-14 08:47:02 +02:00
parent 76cc33f2f1
commit 6a86f2ac03
8 changed files with 42 additions and 37 deletions

View file

@ -17,7 +17,7 @@ Vector<ImageIml> UnpackImlData(const void *ptr, int len)
ib.SetHotSpot(Point(Peek16le(s + 5), Peek16le(s + 7)));
ib.Set2ndSpot(Point(Peek16le(s + 9), Peek16le(s + 11)));
s += 13;
int len = ib.GetLength();
size_t len = ib.GetLength();
RGBA *t = ib;
const RGBA *e = t + len;
if(s + 4 * len > data.End())