mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-23 21:39:52 +00:00
Warning fixes
This commit is contained in:
parent
006d28161d
commit
333580e3b2
@ -120,7 +120,7 @@ void CtrlVertexList::GetColumnText(wchar_t *dest, int row, int col) {
|
||||
}
|
||||
|
||||
if (!indices.empty()) {
|
||||
if (row >= indices.size()) {
|
||||
if (row >= (int)indices.size()) {
|
||||
swprintf(dest, L"Invalid indice %d", row);
|
||||
return;
|
||||
}
|
||||
@ -130,7 +130,7 @@ void CtrlVertexList::GetColumnText(wchar_t *dest, int row, int col) {
|
||||
if (raw_) {
|
||||
FormatVertColRaw(dest, row, col);
|
||||
} else {
|
||||
if (row >= vertices.size()) {
|
||||
if (row >= (int)vertices.size()) {
|
||||
swprintf(dest, L"Invalid vertex %d", row);
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user