solaris warning fix

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9516 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2006-11-02 18:23:01 +00:00
commit 41df99482a

View file

@ -51,7 +51,7 @@ void foo2(Foo<short> f, const Foo<short>& ff) {}
%inline {
class FFoo {
public:
char * Bar(bool b) const { return "x"; }
char * Bar(bool b) const { return (char *)"x"; }
};
}