Purge warnings from tg3.c
authorMarty Connor <mdc@etherboot.org>
Wed, 4 Jul 2007 23:49:46 +0000 (19:49 -0400)
committerMarty Connor <mdc@etherboot.org>
Wed, 4 Jul 2007 23:49:46 +0000 (19:49 -0400)
src/drivers/net/tg3.c

index 389442a..b59e848 100644 (file)
@@ -1505,7 +1505,7 @@ static int tg3_abort_hw(struct tg3 *tp)
        }
        if (i >= MAX_WAIT_CNT) {
                printf("tg3_abort_hw timed out TX_MODE_ENABLE will not clear MAC_TX_MODE=%x\n",
        }
        if (i >= MAX_WAIT_CNT) {
                printf("tg3_abort_hw timed out TX_MODE_ENABLE will not clear MAC_TX_MODE=%x\n",
-                       tr32(MAC_TX_MODE));
+                      (unsigned int) tr32(MAC_TX_MODE));
                return -ENODEV;
        }
 
                return -ENODEV;
        }