Fixing some data types and solving compiler warnings
in the corresponding log messages.

Signed-off-by:  Yevgeny Kliteynik <[EMAIL PROTECTED]>
---
 opensm/opensm/osm_state_mgr.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/opensm/opensm/osm_state_mgr.c b/opensm/opensm/osm_state_mgr.c
index 9a8409b..734df79 100644
--- a/opensm/opensm/osm_state_mgr.c
+++ b/opensm/opensm/osm_state_mgr.c
@@ -862,7 +862,7 @@ static void __osm_state_mgr_check_tbl_consistency(IN 
osm_sm_t * sm)
        osm_port_t *p_port;
        osm_port_t *p_next_port;
        cl_ptr_vector_t *p_port_lid_tbl;
-       size_t max_lid, ref_size, curr_size, lid;
+       uint16_t max_lid, ref_size, curr_size, lid;
        osm_port_t *p_port_ref, *p_port_stored;
        cl_ptr_vector_t ref_port_lid_tbl;
        uint16_t min_lid_ho;
-- 
1.5.1.4


_______________________________________________
general mailing list
[email protected]
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

Reply via email to