summaryrefslogtreecommitdiff
path: root/recipes/flite/flite-1.3/flite-1.3-fix-read-only-assignments.patch
blob: da8c88370f0797e36aa2eb21ad5be02608993b47 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- flite-1.3-release/include/cst_sts.h.old	2008-01-05 10:09:35.000000000 -0600
+++ flite-1.3-release/include/cst_sts.h	2008-01-05 10:08:38.000000000 -0600
@@ -45,9 +45,9 @@
 /* else where, this information plus the indexes in the Unit relation */
 /* allow reconstruction of the signal itself                          */
 struct cst_sts_struct {
-    const unsigned short *frame;  
-    const int size;      /* in samples */
-    const unsigned char *residual;
+    unsigned short *frame;  
+    int size;      /* in samples */
+    unsigned char *residual;
 };
 typedef struct cst_sts_struct cst_sts;