diff options
author | tron <tron@openttd.org> | 2005-02-06 20:53:31 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2005-02-06 20:53:31 +0000 |
commit | 27dc506a0313993c8e7dc4acf77da9649d362a58 (patch) | |
tree | 4d728c3b9f36fe992992338e2532a9f937559204 /rail_cmd.c | |
parent | cc8fc19d4a1caab042a1b545f37eead2ff62f5ff (diff) | |
download | openttd-27dc506a0313993c8e7dc4acf77da9649d362a58.tar.xz |
(svn r1832) Next byte -> char iteration: custom names
Diffstat (limited to 'rail_cmd.c')
-rw-r--r-- | rail_cmd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rail_cmd.c b/rail_cmd.c index 7de16d0fb..c4d8a2e37 100644 --- a/rail_cmd.c +++ b/rail_cmd.c @@ -840,7 +840,7 @@ int32 CmdRenameWaypoint(int x, int y, uint32 flags, uint32 p1, uint32 p2) StringID str; if (_decode_parameters[0] != 0) { - str = AllocateNameUnique((byte*)_decode_parameters, 0); + str = AllocateNameUnique((const char*)_decode_parameters, 0); if (str == 0) return CMD_ERROR; if (flags & DC_EXEC) { |