[ofw] [PATCH] opensm - use uintptr_t instead of unsigned long
Stan C. Smith
stan.smith at intel.com
Mon Oct 12 09:23:48 PDT 2009
sizeof unsigned long != sizeof void * in Windows world
Use correct type.
Signed-off-by: stan smith <stan.smith at intel.com>
diff --git a/opensm/include/opensm/st.h b/opensm/include/opensm/st.h
index 30cc308..fc558c8 100644
--- a/opensm/include/opensm/st.h
+++ b/opensm/include/opensm/st.h
@@ -49,7 +49,7 @@
#endif /* __cplusplus */
BEGIN_C_DECLS
-#define st_ptr_t unsigned long
+#define st_ptr_t uintptr_t
typedef st_ptr_t st_data_t;
#define ST_DATA_T_DEFINED
More information about the ofw
mailing list