Fix warning.

git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3504 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
Meep-Eep
2010-01-23 00:58:20 +00:00
parent 2670e80711
commit 410d0c6454
+2 -1
View File
@@ -66,7 +66,8 @@ MeleeTeam_serialize (const MeleeTeam *team, uio_Stream *stream)
if (uio_putc ((int) team->ships[slotI], stream) == EOF)
return -1;
}
if (uio_fwrite ((char *) team->name, sizeof team->name, 1, stream) != 1)
if (uio_fwrite ((const char *) team->name, sizeof team->name, 1,
stream) != 1)
return -1;
return 0;