From: Maynard J. <may...@us...> - 2007-11-15 19:19:10
|
Update of /cvsroot/oprofile/oprofile/agents/jvmti In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv15707/agents/jvmti Modified Files: Tag: JIT_SUPPORT libjvmti_oprofile.c Log Message: fix compile warning for JVMTI Deallocate call Index: libjvmti_oprofile.c =================================================================== RCS file: /cvsroot/oprofile/oprofile/agents/jvmti/Attic/libjvmti_oprofile.c,v retrieving revision 1.1.2.5 retrieving revision 1.1.2.6 diff -u -p -d -r1.1.2.5 -r1.1.2.6 --- libjvmti_oprofile.c 12 Nov 2007 10:34:22 -0000 1.1.2.5 +++ libjvmti_oprofile.c 15 Nov 2007 19:19:02 -0000 1.1.2.6 @@ -116,10 +116,10 @@ static void JNICALL cb_compiled_method_l } cleanup: - (*jvmti)->Deallocate(jvmti, method_name); - (*jvmti)->Deallocate(jvmti, method_signature); + (*jvmti)->Deallocate(jvmti, (unsigned char *)method_name); + (*jvmti)->Deallocate(jvmti, (unsigned char *)method_signature); cleanup1: - (*jvmti)->Deallocate(jvmti, class_signature); + (*jvmti)->Deallocate(jvmti, (unsigned char *)class_signature); cleanup2: ; } |