Browse Source

Fix a value conversion warning on 64-bit builds.

master
Reece H. Dunn 9 years ago
parent
commit
6aee7b721f
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/libespeak-ng/compiledata.c

+ 1
- 1
src/libespeak-ng/compiledata.c View File

@@ -3293,7 +3293,7 @@ static void CompileEquivalents()
}
*p_equivalence++ = 0;

p_equivalence = (char *)((long int)(p_equivalence + 3) & ~0x3); // align to word boundary
p_equivalence = (char *)((intptr_t)(p_equivalence + 3) & ~0x3); // align to word boundary
n_bytes = p_equivalence - p_start;
p_start[1] = remove_stress;
n_bytes = n_bytes / 4;

Loading…
Cancel
Save