diff mbox

use transportable constant attributes

Message ID 743562BB0B3D481CBA03C8E21DA478D1@amr.corp.intel.com (mailing list archive)
State Not Applicable, archived
Headers show

Commit Message

Smith, Stan Oct. 7, 2009, 4:32 p.m. UTC
None
diff mbox

Patch

diff --git a/opensm/libvendor/osm_vendor_ibumad.c b/opensm/libvendor/osm_vendor_ibumad.c
index e5f0c54..8d3c680 100644
--- a/opensm/libvendor/osm_vendor_ibumad.c
+++ b/opensm/libvendor/osm_vendor_ibumad.c
@@ -126,7 +126,7 @@  Exit:
 static osm_madw_t *get_madw(osm_vendor_t * p_vend, ib_net64_t * tid)
 {
 	umad_match_t *m, *e;
-	ib_net64_t mtid = (*tid & CL_HTON64(0x00000000ffffffffllu));
+	ib_net64_t mtid = (*tid & CL_HTON64(0x00000000ffffffffULL));
 	osm_madw_t *res;
 
 	/*