Fix warnings: -Wsign-compare, -Wnarrowing
This commit is contained in:
parent
31880a1180
commit
a4bc8fea7d
3 changed files with 7 additions and 9 deletions
|
|
@ -1167,9 +1167,7 @@ void control_type_message()
|
|||
return;
|
||||
|
||||
talkflag = true;
|
||||
int x = PANEL_LEFT + 200;
|
||||
int y = PANEL_Y + 22;
|
||||
SDL_Rect rect = { x, y, 250, 39 };
|
||||
SDL_Rect rect = MakeSdlRect(PANEL_LEFT + 200, PANEL_Y + 22, 250, 39);
|
||||
SDL_SetTextInputRect(&rect);
|
||||
TalkMessage[0] = '\0';
|
||||
for (bool &talkButtonDown : TalkButtonsDown) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue