Fixes to compile on some buggy Redhat gcc 2.96 versions

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6089 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2004-08-12 21:12:21 +00:00
commit 16a711e90f
3 changed files with 6 additions and 6 deletions

View file

@ -1605,7 +1605,7 @@ class CSHARP : public Language {
}
generateThrowsClause(n, function_code);
Printf(function_code, " %s\n\n", tm ? tm : empty_string);
Printf(function_code, " %s\n\n", tm ? (const String *)tm : empty_string);
if(proxy_flag && wrapping_member_flag && !enum_constant_flag) {
// Properties
@ -1998,7 +1998,7 @@ class CSHARP : public Language {
}
generateThrowsClause(n, function_code);
Printf(function_code, " %s\n\n", tm ? tm : empty_string);
Printf(function_code, " %s\n\n", tm ? (const String *)tm : empty_string);
if (proxy_flag && global_variable_flag) {
// Properties