mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-15 06:05:58 -06:00
uppsrc: Fixed MSC warnings
This commit is contained in:
parent
08953644b2
commit
2276cb79a0
2 changed files with 3 additions and 3 deletions
|
|
@ -108,7 +108,7 @@ ImageIml Iml::GetRaw(int i)
|
|||
Vector<ImageIml>& m = CreateRawValue<Vector<ImageIml>>(v);
|
||||
m = UnpackImlData(d.data, d.len);
|
||||
ASSERT(m.GetCount() == d.count);
|
||||
int sz = 0;
|
||||
size_t sz = 0;
|
||||
int ii = i0;
|
||||
for(ImageIml& img : m) {
|
||||
sz += img.image.GetLength();
|
||||
|
|
@ -118,7 +118,7 @@ ImageIml Iml::GetRaw(int i)
|
|||
img.flags &= 0x3f;
|
||||
flags[ii++] = img.flags;
|
||||
}
|
||||
return sz;
|
||||
return (int)sz;
|
||||
}
|
||||
).To<Vector<ImageIml>>()[i - i0];
|
||||
m.flags |= global_flags;
|
||||
|
|
|
|||
|
|
@ -333,7 +333,7 @@ void AssistEditor::ConvertToOverrides()
|
|||
bool hasfinal = false;
|
||||
const char *q = SkipTrailingQualifiers(s + 1, hasfinal);
|
||||
// Append everything up to insertion point
|
||||
r.Cat(s + 1, q - (s + 1));
|
||||
r.Cat(s + 1, int(q - (s + 1)));
|
||||
// Insert override if not final
|
||||
if(!hasfinal)
|
||||
r.Cat(" override");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue