summaryrefslogtreecommitdiff
path: root/vehicle.c
diff options
context:
space:
mode:
authortron <tron@openttd.org>2005-02-06 20:53:31 +0000
committertron <tron@openttd.org>2005-02-06 20:53:31 +0000
commit27dc506a0313993c8e7dc4acf77da9649d362a58 (patch)
tree4d728c3b9f36fe992992338e2532a9f937559204 /vehicle.c
parentcc8fc19d4a1caab042a1b545f37eead2ff62f5ff (diff)
downloadopenttd-27dc506a0313993c8e7dc4acf77da9649d362a58.tar.xz
(svn r1832) Next byte -> char iteration: custom names
Diffstat (limited to 'vehicle.c')
-rw-r--r--vehicle.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vehicle.c b/vehicle.c
index 991f6e6dd..f0f875b79 100644
--- a/vehicle.c
+++ b/vehicle.c
@@ -1612,7 +1612,7 @@ int32 CmdNameVehicle(int x, int y, uint32 flags, uint32 p1, uint32 p2)
if (!CheckOwnership(v->owner))
return CMD_ERROR;
- str = AllocateNameUnique((byte*)_decode_parameters, 2);
+ str = AllocateNameUnique((const char*)_decode_parameters, 2);
if (str == 0)
return CMD_ERROR;