]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - drivers/e1000.c
Cleanup for GCC-4.x
[karo-tx-uboot.git] / drivers / e1000.c
index 787134abf91f039eb8692810647cd84373eb409b..927acbb26737a20e02962f67047e192545a870a1 100644 (file)
@@ -2822,7 +2822,7 @@ e1000_poll(struct eth_device *nic)
        if (!(le32_to_cpu(rd->status)) & E1000_RXD_STAT_DD)
                return 0;
        /*DEBUGOUT("recv: packet len=%d \n", rd->length); */
-       NetReceive(packet, le32_to_cpu(rd->length));
+       NetReceive((uchar *)packet, le32_to_cpu(rd->length));
        fill_rx(hw);
        return 1;
 }