Index: code/trunk/src/network/ConnectionManager.cc
===================================================================
--- code/trunk/src/network/ConnectionManager.cc	(revision 1062)
+++ code/trunk/src/network/ConnectionManager.cc	(revision 1064)
@@ -114,5 +114,5 @@
 
   bool ConnectionManager::addPacket(ENetPacket *packet, ENetPeer *peer) {
-    if(enet_peer_send(peer, head_->findClient(&(peer->address))->getID() , packet)!=0)
+    if(enet_peer_send(peer, (enet_uint8)head_->findClient(&(peer->address))->getID() , packet)!=0)
       return false;
     return true;
@@ -120,5 +120,5 @@
 
   bool ConnectionManager::addPacket(ENetPacket *packet, int clientID) {
-    if(enet_peer_send(head_->findClient(clientID)->getPeer(), clientID, packet)!=0)
+    if(enet_peer_send(head_->findClient(clientID)->getPeer(), (enet_uint8)clientID, packet)!=0)
       return false;
     return true;
@@ -127,5 +127,5 @@
   bool ConnectionManager::addPacketAll(ENetPacket *packet) {
     for(ClientInformation *i=head_->next(); i!=0; i=i->next()){
-      if(enet_peer_send(i->getPeer(), i->getID(), packet)!=0)
+      if(enet_peer_send(i->getPeer(), (enet_uint8)i->getID(), packet)!=0)
         return false;
     }
Index: code/trunk/src/network/GameStateManager.cc
===================================================================
--- code/trunk/src/network/GameStateManager.cc	(revision 1062)
+++ code/trunk/src/network/GameStateManager.cc	(revision 1064)
@@ -133,7 +133,7 @@
       // run Synchronisable::getData with offset and additional place for 3 ints in between (for ids and length)
       sync=it->getData((retval->data)+offset+3*sizeof(int));
-      *(retval->data+offset)=sync.length;
-      *(retval->data+offset+sizeof(int))=sync.objectID;
-      *(retval->data+offset+2*sizeof(int))=sync.classID;
+      *(retval->data+offset)=(unsigned char)sync.length;
+      *(retval->data+offset+sizeof(int))=(unsigned char)sync.objectID;
+      *(retval->data+offset+2*sizeof(int))=(unsigned char)sync.classID;
       // increase data pointer
       offset+=tempsize+3*sizeof(int);
Index: code/trunk/src/network/NetworkFrameListener.h
===================================================================
--- code/trunk/src/network/NetworkFrameListener.h	(revision 1062)
+++ 	(revision )
@@ -1,78 +1,0 @@
-/*
- *   ORXONOX - the hottest 3D action shooter ever to exist
- *                    > www.orxonox.net <
- *
- *
- *   License notice:
- *
- *   This program is free software; you can redistribute it and/or
- *   modify it under the terms of the GNU General Public License
- *   as published by the Free Software Foundation; either version 2
- *   of the License, or (at your option) any later version.
- *
- *   This program is distributed in the hope that it will be useful,
- *   but WITHOUT ANY WARRANTY; without even the implied warranty of
- *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- *   GNU General Public License for more details.
- *
- *   You should have received a copy of the GNU General Public License
- *   along with this program; if not, write to the Free Software
- *   Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
- *
- *   Author:
- *      ...
- *   Co-authors:
- *      ...
- *
- */
-
-//
-// C++ Interface: NetworkFrameListener
-//
-// Description:
-//
-//
-// Author:  <>, (C) 2007
-//
-// Copyright: See COPYING file that comes with this distribution
-//
-//
-
-#ifndef _NetworkFrameListener_H__
-#define _NetworkFrameListener_H__
-
-#include "NetworkPrereqs.h"
-
-#include <OgreFrameListener.h>
-
-#include "Server.h"
-#include "Client.h"
-
-network::Server *server_g;
-network::Client *client_g;
-
-namespace network
-{
-  class ServerFrameListener : public Ogre::FrameListener{
-  private:
-    bool frameStarted(const Ogre::FrameEvent &evt){
-      server_g->tick(evt.timeSinceLastFrame);
-      return FrameListener::frameStarted(evt);
-    }
-  };
-
-  class ClientFrameListener : public Ogre::FrameListener{
-  private:
-    bool frameStarted(const Ogre::FrameEvent &evt){
-      //std::cout << "framelistener" << std::endl;
-      client_g->tick(evt.timeSinceLastFrame);
-      return FrameListener::frameStarted(evt);
-    }
-  };
-
-
-
-
-}
-
-#endif /* _NetworkFrameListener_H__ */
Index: code/trunk/src/network/PacketDecoder.cc
===================================================================
--- code/trunk/src/network/PacketDecoder.cc	(revision 1062)
+++ code/trunk/src/network/PacketDecoder.cc	(revision 1064)
@@ -153,4 +153,5 @@
     }
     //since it's not alowed to use void* for pointer arithmetic
+    //FIXME: variable never used
     unsigned char* data = (unsigned char *)(packet->data);
     //copy the GameStateCompressed id into the struct, which is located at second place data+sizeof( int )
