misc_cmd.c
changeset 1328 e069d2db0e4c
parent 1317 f382f1b439c7
child 1500 228f77e88adf
--- a/misc_cmd.c	Sun Feb 06 20:29:32 2005 +0000
+++ b/misc_cmd.c	Sun Feb 06 20:53:31 2005 +0000
@@ -126,7 +126,7 @@
 	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 @@
 	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;