ref: 75f99bc51a9fd2afd899013c8712ba0f324f9a13
parent: 08ef1f4c6c77c8dc03509dffdae91420e434d22f
author: Jean-Marc Valin <[email protected]>
date: Mon Jan 10 05:02:58 EST 2011
Make LCG 16-bit clean
--- a/libcelt/bands.c
+++ b/libcelt/bands.c
@@ -875,7 +875,7 @@
for (j=0;j<N;j++)
{
*seed = lcg_rand(*seed);
- X[j] = (int)(*seed)>>20;
+ X[j] = (celt_int32)(*seed)>>20;
}
} else {
/* Folded spectrum */