Minor tweak to remove warnings
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4773 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
a947ff8dde
commit
3e2ff820a4
2 changed files with 2 additions and 2 deletions
|
|
@ -187,7 +187,7 @@ public:
|
|||
// Following is a silly hack. It works around the limitation of
|
||||
// DOH's hash tables that only work with string keys!
|
||||
char address[16];
|
||||
sprintf(address, "%x%c", (unsigned int)obj, list_p ? 'L' : 'O');
|
||||
sprintf(address, "%x%c", (unsigned long)obj, list_p ? 'L' : 'O');
|
||||
DOH *placeholder = Getattr(print_circle_hash, address);
|
||||
if (placeholder) {
|
||||
Printv(out, placeholder, NIL);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue