mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-11-10 16:21:29 +00:00
compiledata: Avoid a warning when using %x in CompilePhoneme.
This commit is contained in:
@@ -2133,7 +2133,7 @@ int CompilePhoneme(int compile_phoneme)
|
||||
memcpy(number_buf, p, 4); // U+ should be followed by 4 hex digits
|
||||
number_buf[4] = 0;
|
||||
c = '#';
|
||||
sscanf(number_buf, "%x", &c);
|
||||
sscanf(number_buf, "%x", (unsigned int *)&c);
|
||||
|
||||
// move past the 4 hexdecimal digits
|
||||
for (j = 0; j < 4; j++) {
|
||||
|
||||
Reference in New Issue
Block a user