fix for VC
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8527 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
9f40ef5268
commit
7edd12aa3b
1 changed files with 1 additions and 1 deletions
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
const char* pointer_str(A *a){
|
||||
static char result[1024];
|
||||
sprintf(result,"%p", (void *)a);
|
||||
sprintf(result,"0x%x", (long)(void *)a);
|
||||
return result;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue