From 27dc506a0313993c8e7dc4acf77da9649d362a58 Mon Sep 17 00:00:00 2001 From: tron Date: Sun, 6 Feb 2005 20:53:31 +0000 Subject: (svn r1832) Next byte -> char iteration: custom names --- misc_cmd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'misc_cmd.c') diff --git a/misc_cmd.c b/misc_cmd.c index 2c83d1f70..d45a6978c 100644 --- a/misc_cmd.c +++ b/misc_cmd.c @@ -126,7 +126,7 @@ int32 CmdChangeCompanyName(int x, int y, uint32 flags, uint32 p1, uint32 p2) StringID str,old_str; Player *p; - str = AllocateNameUnique((byte*)_decode_parameters, 4); + str = AllocateNameUnique((const char*)_decode_parameters, 4); if (str == 0) return CMD_ERROR; @@ -148,7 +148,7 @@ int32 CmdChangePresidentName(int x, int y, uint32 flags, uint32 p1, uint32 p2) StringID str,old_str; Player *p; - str = AllocateNameUnique((byte*)_decode_parameters, 4); + str = AllocateNameUnique((const char*)_decode_parameters, 4); if (str == 0) return CMD_ERROR; -- cgit v1.2.3-54-g00ecf