aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/nxge/if_nxge.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/nxge/if_nxge.c')
-rw-r--r--sys/dev/nxge/if_nxge.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/nxge/if_nxge.c b/sys/dev/nxge/if_nxge.c
index 6687b4b00aa8..5390120ab81e 100644
--- a/sys/dev/nxge/if_nxge.c
+++ b/sys/dev/nxge/if_nxge.c
@@ -252,8 +252,8 @@ xge_init_params(xge_hal_device_config_t *dconfig, device_t dev)
if(dconfig->fifo.max_frags > (PAGE_SIZE/32)) {
xge_os_printf("fifo_max_frags = %d", dconfig->fifo.max_frags);
xge_os_printf("fifo_max_frags should be <= (PAGE_SIZE / 32) = %d",
- (PAGE_SIZE / 32));
- xge_os_printf("Using fifo_max_frags = %d", (PAGE_SIZE / 32));
+ (int)(PAGE_SIZE / 32));
+ xge_os_printf("Using fifo_max_frags = %d", (int)(PAGE_SIZE / 32));
dconfig->fifo.max_frags = (PAGE_SIZE / 32);
}