fix compile warning by passing ptr to embedded super

This commit is contained in:
Andy2 2011-11-11 07:42:00 -08:00
parent 92eb6b857d
commit 9ff4596667

View file

@ -564,7 +564,7 @@ makeDict( MPFORMAL JNIEnv *env, JNIUtilCtxt* jniutil, jstring jname,
XP_U32 numEdges;
XP_Bool parses = parseDict( anddict, (XP_U8*)anddict->bytes,
len, &numEdges );
if ( !parses || (check && !checkSanity( anddict, numEdges ) ) ) {
if ( !parses || (check && !checkSanity( &anddict->super, numEdges ) ) ) {
and_dictionary_destroy( (DictionaryCtxt*)anddict );
anddict = NULL;
}