Fixed const problem.

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@680 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Dave Beazley 2000-08-20 00:30:49 +00:00
commit 99721047c2

View file

@ -236,7 +236,7 @@ void Swig_cppresult(Wrapper *w, SwigType *t, String_or_char *name, String_or_cha
Printf(fcall, "%s = ", SwigType_str(t,"_result_ref"));
break;
default:
Printf(fcall, "%s = %s", name, SwigType_lcaststr(t,""));
Printf(fcall,"%s = (%s)", name, SwigType_lstr(t,0));
break;
}