*lib_ptr(ib, rx_ptr, lp->type) = leptr;
        if (ZERO)
                printk("RX ptr: %8.8x(%8.8x)\n",
-                      leptr, lib_off(brx_ring, lp->type));
+                      leptr, (uint)lib_off(brx_ring, lp->type));
 
        /* Setup tx descriptor pointer */
        leptr = offsetof(struct lance_init_block, btx_ring);
        *lib_ptr(ib, tx_ptr, lp->type) = leptr;
        if (ZERO)
                printk("TX ptr: %8.8x(%8.8x)\n",
-                      leptr, lib_off(btx_ring, lp->type));
+                      leptr, (uint)lib_off(btx_ring, lp->type));
 
        if (ZERO)
                printk("TX rings:\n");
                                                /* The ones required by tmd2 */
                *lib_ptr(ib, btx_ring[i].misc, lp->type) = 0;
                if (i < 3 && ZERO)
-                       printk("%d: 0x%8.8x(0x%8.8x)\n",
-                              i, leptr, (uint)lp->tx_buf_ptr_cpu[i]);
+                       printk("%d: %8.8x(%p)\n",
+                              i, leptr, lp->tx_buf_ptr_cpu[i]);
        }
 
        /* Setup the Rx ring entries */
                                                             0xf000;
                *lib_ptr(ib, brx_ring[i].mblength, lp->type) = 0;
                if (i < 3 && ZERO)
-                       printk("%d: 0x%8.8x(0x%8.8x)\n",
-                              i, leptr, (uint)lp->rx_buf_ptr_cpu[i]);
+                       printk("%d: %8.8x(%p)\n",
+                              i, leptr, lp->rx_buf_ptr_cpu[i]);
        }
        iob();
 }