mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-27 04:08:37 +01:00
Warning fixes
This commit is contained in:
1 parent
60b9f4f003
commit
171e202019
4 files changed
+6
-6
No files matched your search
@@ -99,14 +99,14 @@ void ControlMapper::Refresh() {
|
||||
|
||||
Choice *c = row->Add(new Choice(deviceName + "." + keyName, new LinearLayoutParams(1.0f)));
|
||||
char tagbuf[16];
|
||||
sprintf(tagbuf, "%i", i);
|
||||
sprintf(tagbuf, "%i", (int)i);
|
||||
c->SetTag(tagbuf);
|
||||
c->OnClick.Handle(this, &ControlMapper::OnReplace);
|
||||
|
||||
|
||||
Choice *d = row->Add(new Choice("X"));
|
||||
d->SetTag(tagbuf);
|
||||
d->OnClick.Handle(this, &ControlMapper::OnDelete);
|
||||
|
||||
|
||||
row->Add(new Choice("+"))->OnClick.Handle(this, &ControlMapper::OnAdd);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user