Working on the x86 bit port (caused some changes to try and get it
[tpg/acess2.git] / Modules / IPStack / link.c
index ef17c93..8316b63 100644 (file)
@@ -125,7 +125,7 @@ void Link_WatchDevice(tAdapter *Adapter)
                ret = VFS_Read(Adapter->DeviceFD, MAX_PACKET_SIZE, buf);
                if(ret == -1)   break;
                
-               if(ret <= sizeof(tEthernetHeader)) {
+               if(ret <= (int)sizeof(tEthernetHeader)) {
                        Log_Log("NET", "Recieved an undersized packet");
                        continue;
                }

UCC git Repository :: git.ucc.asn.au