diff --git a/src/mac/carbon/gsocket.cpp b/src/mac/carbon/gsocket.cpp index 20459b7d0d..f7af7a1ca6 100644 --- a/src/mac/carbon/gsocket.cpp +++ b/src/mac/carbon/gsocket.cpp @@ -1323,9 +1323,9 @@ GSocketError GAddress_INET_SetHostAddress(GAddress *address, struct service_entry { - char * name ; + const char * name ; unsigned short port ; - char * protocol ; + const char * protocol ; } ; typedef struct service_entry service_entry ;