From 6aee7b721fe0e82bd31295f9bf3b0253fe8f1135 Mon Sep 17 00:00:00 2001 From: "Reece H. Dunn" Date: Fri, 18 Dec 2015 21:36:13 +0000 Subject: [PATCH] Fix a value conversion warning on 64-bit builds. --- src/libespeak-ng/compiledata.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libespeak-ng/compiledata.c b/src/libespeak-ng/compiledata.c index 002da34c..a398dc1f 100644 --- a/src/libespeak-ng/compiledata.c +++ b/src/libespeak-ng/compiledata.c @@ -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;