Skip to content

Commit

Permalink
library version fix for CI
Browse files Browse the repository at this point in the history
  • Loading branch information
pedrolcl committed Oct 27, 2024
1 parent 7e64165 commit 3e68a50
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions example/sonivoxrender.c
Original file line number Diff line number Diff line change
Expand Up @@ -63,12 +63,12 @@ void initLibraryVersion()
if (mEASConfig == NULL) {
fprintf(stderr, "Failed to get the library configuration\n");
} else {
u_int8_t v1, v2, v3, v4;
unsigned char v1, v2, v3, v4;
v1 = (mEASConfig->libVersion >> 24) & 0xff;
v2 = (mEASConfig->libVersion >> 16) & 0xff;
v3 = (mEASConfig->libVersion >> 8) & 0xff;
v4 = mEASConfig->libVersion & 0xff;
snprintf(sLibrary_version, sizeof(sLibrary_version), "%d.%d.%d.%d", v1, v2, v3, v4);
snprintf(sLibrary_version, sizeof(sLibrary_version), "%u.%u.%u.%u", v1, v2, v3, v4);
}
}

Expand Down

0 comments on commit 3e68a50

Please sign in to comment.