(svn r5974) -Codechange: added casts all around the place to make Windows 64bit happy (michi_cc)

This commit is contained in:
truelight
2006-08-20 12:09:32 +00:00
parent b83703b215
commit 5fb6c9e1cc
11 changed files with 14 additions and 14 deletions

View File

@@ -313,7 +313,7 @@ DEF_SERVER_SEND_COMMAND(PACKET_SERVER_MAP)
for (i = 0; i < sent_packets; i++) {
Packet *p = NetworkSend_Init(PACKET_SERVER_MAP);
NetworkSend_uint8(p, MAP_PACKET_NORMAL);
res = fread(p->buffer + p->size, 1, SEND_MTU - p->size, file_pointer);
res = (int)fread(p->buffer + p->size, 1, SEND_MTU - p->size, file_pointer);
if (ferror(file_pointer)) {
error("Error reading temporary network savegame!");
}