fix compile warning by passing ptr to embedded super

This commit is contained in:
Andy2 2011-11-11 07:42:00 -08:00 committed by Andy2
parent dddec50f1d
commit 63c0c5cf09

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;
}