summaryrefslogtreecommitdiff
path: root/train_gui.c
diff options
context:
space:
mode:
Diffstat (limited to 'train_gui.c')
-rw-r--r--train_gui.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/train_gui.c b/train_gui.c
index 85a5e8ee0..91db42a52 100644
--- a/train_gui.c
+++ b/train_gui.c
@@ -219,7 +219,7 @@ static void NewRailVehicleWndProc(Window *w, WindowEvent *e)
break;
case WE_ON_EDIT_TEXT: {
- byte *b = e->edittext.str;
+ const char *b = e->edittext.str;
if (*b == 0)
return;
@@ -1180,7 +1180,7 @@ do_change_service_int:
break;
case WE_ON_EDIT_TEXT: {
- byte *b = e->edittext.str;
+ const char *b = e->edittext.str;
if (*b == 0)
return;
memcpy(_decode_parameters, b, 32);