From: akashihi Date: Sat, 27 Nov 2010 17:32:11 +0000 (+0000) Subject: Fix:build:Added MSVC workaround for suuplied espeak X-Git-Tag: navit-0.5.0.5194svn~1466 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=78a9ca76b3f07134fb45b27c6451f595683f4889;p=profile%2Fivi%2Fnavit.git Fix:build:Added MSVC workaround for suuplied espeak git-svn-id: https://navit.svn.sourceforge.net/svnroot/navit/trunk@3729 ffa7fe5e-494d-0410-b361-a75ebd5db220 --- diff --git a/navit/navit/support/espeak/dictionary.c b/navit/navit/support/espeak/dictionary.c index 85a8c51..d7dd3dc 100755 --- a/navit/navit/support/espeak/dictionary.c +++ b/navit/navit/support/espeak/dictionary.c @@ -3356,9 +3356,8 @@ int LookupDictList(Translator *tr, char **wordptr, char *ph_out, unsigned int *f int Lookup(Translator *tr, const char *word, char *ph_out) {//=================================================== - unsigned int flags[2]; - flags[0] = flags[1] = 0; - char *word1 = (char *)word; + unsigned int flags[2]={0,0}; + char* word1 = (char *)word; return(LookupDictList(tr, &word1, ph_out, flags, 0, NULL)); }