summaryrefslogtreecommitdiff
path: root/signs.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
commit6984d6cd31d3ceb270a7caa75c4ed757788eb50b (patch)
tree4d728c3b9f36fe992992338e2532a9f937559204 /signs.c
parentf1610872de835e4aafe222e73ca0858e2c7d9354 (diff)
downloadopenttd-6984d6cd31d3ceb270a7caa75c4ed757788eb50b.tar.xz
(svn r1832) Next byte -> char iteration: custom names
Diffstat (limited to 'signs.c')
-rw-r--r--signs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/signs.c b/signs.c
index 267a254f5..355351621 100644
--- a/signs.c
+++ b/signs.c
@@ -132,7 +132,7 @@ int32 CmdRenameSign(int x, int y, uint32 flags, uint32 sign_id, uint32 owner)
/* If GetDParam(0) == nothing, we delete the sign */
if (GetDParam(0) != 0 && owner != OWNER_NONE) {
/* Create the name */
- str = AllocateName((byte*)_decode_parameters, 0);
+ str = AllocateName((const char*)_decode_parameters, 0);
if (str == 0)
return CMD_ERROR;