Hi Hal,

The following patch adds a missing type casting in the return value of
the function osm_mcast_mgr_compute_max_hops.

Thanks,
Yael

Signed-off-by:  Yael Kalka <[EMAIL PROTECTED]>

Index: osm_mcast_mgr.c
===================================================================
--- osm_mcast_mgr.c     (revision 5307)
+++ osm_mcast_mgr.c     (working copy)
@@ -269,7 +269,7 @@ osm_mcast_mgr_compute_max_hops(
   }
 
   OSM_LOG_EXIT( p_mgr->p_log );
-  return( max_hops );
+  return(float)(max_hops);
 }
 
 /**********************************************************************

_______________________________________________
openib-general mailing list
openib-general@openib.org
http://openib.org/mailman/listinfo/openib-general

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

Reply via email to