osmtest/osmt_service.c: Eliminate compile warnings with gcc version4.0.0
20050519 (Red Hat 4.0.0-8)

Signed-off-by: Hal Rosenstock <[EMAIL PROTECTED]>

Index: osmt_service.c
===================================================================
--- osmt_service.c      (revision 4478)
+++ osmt_service.c      (working copy)
@@ -1071,7 +1071,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((const char *)p_valid_service_names_arr[j],
+                      (const 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