[Project64] fixed warning C4018: '>' : signed/unsigned mismatch
This commit is contained in:
parent
068fbcbd13
commit
c30e41b102
|
@ -297,9 +297,9 @@ public:
|
||||||
|
|
||||||
size_t Finish = strlen(text);
|
size_t Finish = strlen(text);
|
||||||
char second = Finish > 1 ? text[1] : 0;
|
char second = Finish > 1 ? text[1] : 0;
|
||||||
int Start = (second == 'x' || second == 'X') ? 2 : 0;
|
size_t Start = (second == 'x' || second == 'X') ? 2 : 0;
|
||||||
|
|
||||||
if (Finish > (8 + Start)) { Finish = (8 + Start); }
|
if (Finish > 8 + Start) { Finish = 8 + Start; }
|
||||||
|
|
||||||
DWORD Value = 0;
|
DWORD Value = 0;
|
||||||
for (size_t i = Start; i < Finish; i++)
|
for (size_t i = Start; i < Finish; i++)
|
||||||
|
|
Loading…
Reference in New Issue