diff options
-rw-r--r-- | sys/dev/hfa/fore_init.c | 2 | ||||
-rw-r--r-- | sys/dev/hfa/fore_load.c | 2 | ||||
-rw-r--r-- | sys/netatm/spans/spans_util.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/hfa/fore_init.c b/sys/dev/hfa/fore_init.c index 1594f3e..d0e6192 100644 --- a/sys/dev/hfa/fore_init.c +++ b/sys/dev/hfa/fore_init.c @@ -214,7 +214,7 @@ fore_initialize_complete(fup) log(LOG_ERR, "fore initialization failed: intf=%s%d, hbeat=0x%lx\n", fup->fu_pif.pif_name, fup->fu_pif.pif_unit, - CP_READ(aap->aali_heartbeat)); + (u_long)CP_READ(aap->aali_heartbeat)); return; } diff --git a/sys/dev/hfa/fore_load.c b/sys/dev/hfa/fore_load.c index bdb42ca..5db01f9 100644 --- a/sys/dev/hfa/fore_load.c +++ b/sys/dev/hfa/fore_load.c @@ -1008,7 +1008,7 @@ fore_pci_attach(config_id, unit) } else if ( --err_count == 0 ) { log(LOG_ERR, "%s%d: unable to boot - status=0x%lx\n", FORE_DEV_NAME, unit, - CP_READ(fup->fu_mon->mon_bstat)); + (u_long)CP_READ(fup->fu_mon->mon_bstat)); goto failed; } DELAY ( BOOT_DELAY ); diff --git a/sys/netatm/spans/spans_util.c b/sys/netatm/spans/spans_util.c index e174e16..bfbae5d 100644 --- a/sys/netatm/spans/spans_util.c +++ b/sys/netatm/spans/spans_util.c @@ -441,7 +441,7 @@ spans_addr_print(p) /* * Print and return the string */ - sprintf(strbuff, "%lx.%lx", ntohl(u1.w), ntohl(u2.w)); + sprintf(strbuff, "%lx.%lx", (u_long)ntohl(u1.w), (u_long)ntohl(u2.w)); return(strbuff); } |