Hi Hal

Last one of my cleaning up compilation warnings I found a missing
cast in osmtest service name compare.

Eitan

Signed-off-by:  Eitan Zahavi <[EMAIL PROTECTED]>

Index: osmtest/osmt_service.c
===================================================================
--- osmtest/osmt_service.c      (revision 7542)
+++ osmtest/osmt_service.c      (working copy)
@@ -1138,8 +1138,8 @@ osmt_get_all_services_and_check_names( I
                    "osmt_get_all_services_and_check_names: "
                    "-I- Comparing source name : >%s<, with record name : >%s<, 
idx : %d\n",
                    p_valid_service_names_arr[j],p_rec->service_name, 
p_checked_names[j]);     
-          if ( strcmp(p_valid_service_names_arr[j],
-                      p_rec->service_name) == 0 )
+          if ( strcmp((char *)p_valid_service_names_arr[j],
+                      (char *)p_rec->service_name) == 0 )
           {
               osm_log( &p_osmt->log, OSM_LOG_VERBOSE,
                        "osmt_get_all_services_and_check_names: "

_______________________________________________
openib-general mailing list
[email protected]
http://openib.org/mailman/listinfo/openib-general

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

Reply via email to