Fix C errors

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10123 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2007-11-14 21:47:11 +00:00
commit 68f9f87e8d

View file

@ -147,7 +147,7 @@ strcpy($1, "");
$1 = %static_cast(CHAR(STRING_ELT($input, 0))[0],$1_ltype);
}
%typemap(out,noblock=1) char
%typemap(out) char
{
char tmp[2] = "x";
tmp[0] = $1;