diff options
Diffstat (limited to 'player_gui.c')
-rw-r--r-- | player_gui.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/player_gui.c b/player_gui.c index 4e2b85466..dbe25ea34 100644 --- a/player_gui.c +++ b/player_gui.c @@ -639,7 +639,7 @@ static void PlayerCompanyWndProc(Window *w, WindowEvent *e) break; case WE_ON_EDIT_TEXT: { - char *b = (char*)e->edittext.str; + char *b = e->edittext.str; if (*b == 0 && WP(w,def_d).byte_1 != 2) // empty string is allowed for password return; |