Browse Source

*** empty log message ***

eihrul 17 years ago
parent
commit
e40ad2da44
1 changed files with 1 additions and 1 deletions
  1. 1 1
      protocol.c

+ 1 - 1
protocol.c

@@ -206,7 +206,7 @@ enet_protocol_remove_sent_reliable_command (ENetPeer * peer, enet_uint16 reliabl
        }
        }
     }
     }
 
 
-    commandNumber = outgoingCommand -> command.header.command & ENET_PROTOCOL_COMMAND_MASK;
+    commandNumber = (ENetProtocolCommand) (outgoingCommand -> command.header.command & ENET_PROTOCOL_COMMAND_MASK);
     
     
     enet_list_remove (& outgoingCommand -> outgoingCommandList);
     enet_list_remove (& outgoingCommand -> outgoingCommandList);