Warning fixes

This commit is contained in:
Henrik Rydgård committed 2013-08-20 19:20:03 +02:00
1 parent 60b9f4f003
commit 171e202019
4 files changed
+6 -6

No files matched your search

+3 -3
View File
@@ -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);
}