mirror of
https://github.com/ipxe/ipxe
synced 2025-12-23 13:30:57 +03:00
[i386] Change [u]int32_t to [unsigned] int, rather than [unsigned] long
This brings us in to line with Linux definitions, and also simplifies adding x86_64 support since both platforms have 2-byte shorts, 4-byte ints and 8-byte long longs.
This commit is contained in:
@@ -156,7 +156,7 @@ int ib_smc_update ( struct ib_device *ibdev, ib_local_mad_t local_mad ) {
|
||||
return rc;
|
||||
ibdev->pkey = ntohs ( smp->pkey_table.pkey[0] );
|
||||
|
||||
DBGC ( ibdev, "IBDEV %p port GID is %08lx:%08lx:%08lx:%08lx\n", ibdev,
|
||||
DBGC ( ibdev, "IBDEV %p port GID is %08x:%08x:%08x:%08x\n", ibdev,
|
||||
htonl ( ibdev->gid.u.dwords[0] ),
|
||||
htonl ( ibdev->gid.u.dwords[1] ),
|
||||
htonl ( ibdev->gid.u.dwords[2] ),
|
||||
|
||||
Reference in New Issue
Block a user