@@ -1682,7 +1682,7 @@ static int TranslateNumber_1(Translator *tr, char *word, char *ph_out, unsigned | |||
if (prev_thousands == 0) { | |||
if ((decimal_point == 0) && (ordinal == 0)) { | |||
// Look for special pronunciation for this number in isolation (LANG=kl) | |||
sprintf(string, "_%dn", value); | |||
sprintf(string, "_%ldn", value); | |||
if (Lookup(tr, string, ph_out)) | |||
return 1; | |||
} |
@@ -572,6 +572,8 @@ static int | |||
_test_espeak_ng_phoneme_events_cb(short *samples, int num_samples, espeak_EVENT *events) { | |||
char *out = events->user_data; | |||
size_t offset; | |||
(void) samples; | |||
(void) num_samples; | |||
for (espeak_EVENT *e = events; e->type != 0; e++) { | |||
if (e->type == espeakEVENT_PHONEME) { | |||
if (out[0] == 0) offset = 0; |