fix compile warnings

This commit is contained in:
Eric House 2014-02-10 18:23:03 -08:00
parent 4b293ac89b
commit 339e784d7c
3 changed files with 4 additions and 3 deletions

View file

@ -676,9 +676,9 @@ destroyDicts( PlayerDicts* dicts )
#ifdef DEBUG
uint32_t
andDictID( DictionaryCtxt* dict )
andDictID( const DictionaryCtxt* dict )
{
AndDictionaryCtxt* ctxt = (AndDictionaryCtxt*)dict;
const AndDictionaryCtxt* ctxt = (AndDictionaryCtxt*)dict;
return ctxt->dbgid;
}
#endif

View file

@ -45,7 +45,7 @@ DictionaryCtxt* and_dictionary_make_empty( MPFORMAL JNIEnv *env,
jobject and_dictionary_getChars( JNIEnv* env, DictionaryCtxt* dict );
# ifdef DEBUG
uint32_t andDictID(DictionaryCtxt* dict);
uint32_t andDictID(const DictionaryCtxt* dict);
# endif
#endif

View file

@ -20,6 +20,7 @@
#include "drawwrapper.h"
#include "andutils.h"
#include "anddict.h"
#include "paths.h"
enum {