Warning fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5604 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
a7078b34ec
commit
47cecb0287
22 changed files with 30 additions and 28 deletions
|
|
@ -33,6 +33,8 @@ JNIEXPORT jstring JNICALL Java_exampleJNI_point_1toString2(JNIEnv *jenv, jclass
|
|||
char buf[80];
|
||||
jstring result;
|
||||
|
||||
(void)jcls;
|
||||
|
||||
p = *(Point **)&jpoint;
|
||||
sprintf(buf, "[%d,%d]", p->x, p->y);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue