[openib-general] [diags] compilation warning fix on 32 bit machines
Dotan Barak
dotanb at mellanox.co.il
Mon Jul 3 02:57:33 PDT 2006
Compilation warning on 32 bit machines was fixed.
Signed-off-by: Dotan Barak <dotanb at mellanox.co.il>
Index: last_stable/src/userspace/management/diags/src/grouping.c
===================================================================
--- last_stable.orig/src/userspace/management/diags/src/grouping.c 2006-07-02 18:09:41.000000000 +0300
+++ last_stable/src/userspace/management/diags/src/grouping.c 2006-07-03 11:50:18.000000000 +0300
@@ -93,7 +93,7 @@ static uint64_t topspin_chassisguid(uint
{
/* Byte 3 in system image GUID is chassis type, and */
/* Byte 4 is location ID (slot) so just mask off byte 4 */
- return guid & 0xffffffff00ffffff;
+ return guid & 0xffffffff00ffffffULL;
}
static uint64_t get_chassisguid(uint64_t guid, uint32_t vendid)
More information about the general
mailing list