History

fix warnings

Alan W Black committed 6 years ago

Commit aa50cee1 parent 136d8653 files · +9 −8Browse files

Showing the changes to src (1 of 3 files). Show all

Unified · Split

src/wavesynth/cst_units.c+3−2
@@ -585,12 +585,13 @@ void add_residual_vuv(int targ_size, unsigned char *targ_residual, · 584 unmodified lines
585585 void add_residual_pulse(int targ_size, unsigned char *targ_residual,
586586 int unit_size, const unsigned char *unit_residual)
587587 {
588− int p,i,m;
588+ int i,m;
589+ long long p;
589590 /* Unit residual isn't a pointer its a number, the power for the
590591 the sts, yes this is hackily casting the address to a number */
591592
592593 /* Need voiced and unvoiced model */
593− p = (int)unit_residual; /* I know the compiler will complain about this */
594+ p = (long long)unit_residual; /* I know the compiler will complain about this */
594595
595596 if (p > 7000) /* voiced */
596597 {

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t