aboutsummaryrefslogtreecommitdiffstats
path: root/flite/flite-1.2/fix-read-only-assignments.patch
blob: ec241c51f5d507259b51b7b722aa6f52465ccef5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
diff -urN flite-1.2-release.orig/include/cst_sts.h flite-1.2-release/include/cst_sts.h
--- flite-1.2-release.orig/include/cst_sts.h	2002-12-23 16:55:05.000000000 +0100
+++ flite-1.2-release/include/cst_sts.h	2004-10-04 21:10:22.000000000 +0200
@@ -47,9 +47,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;