diff options
author | akashihi <akashihi@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2010-11-27 17:32:11 +0000 |
---|---|---|
committer | akashihi <akashihi@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2010-11-27 17:32:11 +0000 |
commit | 44ced6cb0ce1e5d72335a122c2842de559506d0a (patch) | |
tree | 52dd8cc9be4d3c202a41a202b9ba7669fe337194 /navit/support/espeak | |
parent | b272b27dcb63a97fc02cf9ba2335a98a9652cff5 (diff) | |
download | navit-44ced6cb0ce1e5d72335a122c2842de559506d0a.tar.gz |
Fix:build:Added MSVC workaround for suuplied espeak
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@3729 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/support/espeak')
-rwxr-xr-x | navit/support/espeak/dictionary.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/navit/support/espeak/dictionary.c b/navit/support/espeak/dictionary.c index 85a8c518a..d7dd3dc65 100755 --- a/navit/support/espeak/dictionary.c +++ b/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)); } |