diff --git a/cint/src/g__cfunc.c b/cint/src/g__cfunc.c
index aa9f1a0d114bef6fd7c5993e423ddabc6caf8aa6..b13b16a2ce6da87805cc490ac001ef531e5e9f6e 100644
--- a/cint/src/g__cfunc.c
+++ b/cint/src/g__cfunc.c
@@ -2708,7 +2708,12 @@ int hash;
     G__CHECKNONULL(0,'C');
     G__CHECKNONULL(1,'C');
 #endif
-    G__letint(result7,'C',(long)strcat((char *)G__int(libp->para[0]),(char *)G__int(libp->para[1])));
+    {
+       char *dst = (char*)G__int(libp->para[0]);
+       char *src = (char*)G__int(libp->para[1]);
+       char* res = strcat(dst,src);
+       G__letint(result7,'C',(long)res);
+    }
     return(1);
   }