>diff --git a/opensm/opensm/osm_drop_mgr.c b/opensm/opensm/osm_drop_mgr.c
>index 4f98cc9..8fe5129 100644
>--- a/opensm/opensm/osm_drop_mgr.c
>+++ b/opensm/opensm/osm_drop_mgr.c
>@@ -209,8 +209,13 @@ static void drop_mgr_remove_port(osm_sm_t * sm, IN
>osm_port_t * p_port)
>       drop_mgr_clean_physp(sm, p_port->p_physp);
>
>       while (!cl_is_qlist_empty(&p_port->mcm_list)) {
>+#ifndef __WIN__
>               mcm_port = cl_item_obj(cl_qlist_head(&p_port->mcm_list),
>                                      mcm_port, list_item);
>+#else
>+              mcm_port = cl_item_obj(cl_qlist_head(&p_port->mcm_list),
>+                                     mcm_port, list_item, (osm_mcm_port_t*) );
>+#endif

I'd find this more readable if it were #ifdef rather than #ifndef.

That said, I've got to believe that there's a better way to handle these
changes.  I just don't know what it is.

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

Reply via email to