You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

26 lines
1.0 KiB

Description: fix execution on 64bit archs
Bug: http://code.google.com/p/android/issues/detail?id=12224
Author: Samuel Thibault <sthibault@debian.org>
--- svox/pico/lib/picoapi.c.original 2010-10-25 19:06:57.000000000 +0200
+++ svox/pico/lib/picoapi.c 2010-10-25 19:07:18.000000000 +0200
@@ -90,7 +90,7 @@
status = PICO_ERR_NULLPTR_ACCESS;
} else {
byte_ptr_t rest_mem;
- picoos_uint32 rest_mem_size;
+ picoos_objsize_t rest_mem_size;
pico_System sys;
picoos_MemoryManager sysMM;
picoos_ExceptionManager sysEM;
--- svox/pico/lib/picosig2.c.original 2010-10-26 00:17:18.000000000 +0200
+++ svox/pico/lib/picosig2.c 2010-10-26 00:17:19.000000000 +0200
@@ -568,7 +568,7 @@
for (nI = 1; nI < m1; nI++) {
XXr[nI] = c1[nI] << shift;
}
- i = sizeof(picoos_int32) * (PICODSP_FFTSIZE + 1 - m1);
+ i = sizeof(picoos_int32) * (PICODSP_FFTSIZE - m1);
picoos_mem_set(XXr + m1, 0, i);
dfct_nmf(m4, XXr); /* DFCT directly in fixed point */