const char * correctness fixes (in C code)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13939 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
c7df90e675
commit
dac89e16d4
7 changed files with 10 additions and 10 deletions
|
|
@ -82,7 +82,7 @@ void Swig_print_node(Node *obj) {
|
|||
Printf(stdout, "%-12s - %s\n", k, ParmList_str_defaultargs(Getattr(obj, k)));
|
||||
} else {
|
||||
DOH *o;
|
||||
char *trunc = "";
|
||||
const char *trunc = "";
|
||||
print_indent(2);
|
||||
if (DohIsString(Getattr(obj, k))) {
|
||||
o = Str(Getattr(obj, k));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue