From 63c0c5cf09e153b6cbbbf1db443e9f1650f28660 Mon Sep 17 00:00:00 2001 From: Andy2 Date: Fri, 11 Nov 2011 07:42:00 -0800 Subject: [PATCH] fix compile warning by passing ptr to embedded super --- xwords4/android/XWords4/jni/anddict.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xwords4/android/XWords4/jni/anddict.c b/xwords4/android/XWords4/jni/anddict.c index c04c90a5a..0e1e1a4ad 100644 --- a/xwords4/android/XWords4/jni/anddict.c +++ b/xwords4/android/XWords4/jni/anddict.c @@ -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; }