From a7d45ce95d24cfc469f30f0cbdf03e340b2dd019 Mon Sep 17 00:00:00 2001
From: Christophe Geuzaine <cgeuzaine@ulg.ac.be>
Date: Fri, 24 Oct 2008 17:09:05 +0000
Subject: [PATCH] *** empty log message ***

---
 Common/GmshSocket.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Common/GmshSocket.h b/Common/GmshSocket.h
index 5bf280b7d1..3495ebe9a8 100644
--- a/Common/GmshSocket.h
+++ b/Common/GmshSocket.h
@@ -214,7 +214,7 @@ class GmshClient : public GmshSocket {
       if(_sock < 0)
 	return -1; // Error: Couldn't create socket
       // try to connect socket to host:port
-      char *port = strstr(sockname, ":");
+      const char *port = strstr(sockname, ":");
       int portno = atoi(port + 1);
       int remotelen = strlen(sockname) - strlen(port);
       char remote[256];
-- 
GitLab