~ubuntu-branches/ubuntu/maverick/speech-tools/maverick

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
This patch is part of a series of patches for speech-tools for
Debian GNU/Linux, which primarily fix build errors with GCC 4.3 and newer.

Index: speech-tools-2.0.95~beta/stats/EST_DProbDist.cc
===================================================================
--- speech-tools-2.0.95~beta.orig/stats/EST_DProbDist.cc	2006-10-05 12:45:39.000000000 -0500
+++ speech-tools-2.0.95~beta/stats/EST_DProbDist.cc	2010-07-17 09:15:15.000000000 -0500
@@ -372,7 +372,7 @@
     if (type == tprob_discrete)
 	return NULL;
     else
-	return scounts.list.head();
+        return scounts.list.head();
 }
 
 int EST_DiscreteProbDistribution::item_end(EST_Litem *idx) const
@@ -388,7 +388,7 @@
     if (type == tprob_discrete)
 	return (EST_Litem *)(((unsigned char *)idx)+1);
     else
-	return next(idx);
+        return next(idx);
 }
 
 const EST_String &EST_DiscreteProbDistribution::item_name(EST_Litem *idx) const