Browse Source

compiledata: Avoid a warning when using %x in CompilePhoneme.

master
Reece H. Dunn 9 years ago
parent
commit
825a8a4710
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

memcpy(number_buf, p, 4); // U+ should be followed by 4 hex digits memcpy(number_buf, p, 4); // U+ should be followed by 4 hex digits
number_buf[4] = 0; number_buf[4] = 0;
c = '#'; c = '#';
sscanf(number_buf, "%x", &c);
sscanf(number_buf, "%x", (unsigned int *)&c);


// move past the 4 hexdecimal digits // move past the 4 hexdecimal digits
for (j = 0; j < 4; j++) { for (j = 0; j < 4; j++) {

Loading…
Cancel
Save