Merge pull request #711 in FS/freeswitch from ~PIOTRGREGOR/freeswitch:bugfix/FS-8852-avmd-change-stop-condition-in-loop to master

* commit '1e8d315178b66cc97f9afffb4168678b25431e2b':
  FS-8852 change stop condition in for loop
This commit is contained in:
Mike Jerris 2016-03-10 14:06:49 -06:00
commit 226eb6accf

View File

@ -65,7 +65,7 @@ extern void compute_table(void)
acos_table_file = fopen(ACOS_TABLE_FILENAME, "w"); acos_table_file = fopen(ACOS_TABLE_FILENAME, "w");
for (i = 0; i < (1 << 25); i++) { for (i = 0; i < ACOS_TABLE_LENGTH; i++) {
f = acosf(float_from_index(i)); f = acosf(float_from_index(i));
ret = fwrite(&f, sizeof(f), 1, acos_table_file); ret = fwrite(&f, sizeof(f), 1, acos_table_file);
assert(ret != 0); assert(ret != 0);