1
1
This patch is part of a series of patches for speech-tools for
2
2
Debian GNU/Linux, which primarily fix build errors with GCC 4.3 and newer.
4
--- speech-tools-1.2.96~beta.orig/stats/EST_DProbDist.cc
5
+++ speech-tools-1.2.96~beta/stats/EST_DProbDist.cc
7
if (type == tprob_discrete)
10
- return (int)scounts.list.head();
11
+ return (long)scounts.list.head();
14
int EST_DiscreteProbDistribution::item_end(int idx) const
16
if (type == tprob_discrete)
19
- return (int)next((EST_Litem *)idx);
20
+ return (long)next((EST_Litem *)idx);
23
const EST_String &EST_DiscreteProbDistribution::item_name(int idx) const
4
Index: speech-tools-2.0.95~beta/stats/EST_DProbDist.cc
5
===================================================================
6
--- speech-tools-2.0.95~beta.orig/stats/EST_DProbDist.cc 2006-10-05 12:45:39.000000000 -0500
7
+++ speech-tools-2.0.95~beta/stats/EST_DProbDist.cc 2010-07-17 09:15:15.000000000 -0500
9
if (type == tprob_discrete)
12
- return scounts.list.head();
13
+ return scounts.list.head();
16
int EST_DiscreteProbDistribution::item_end(EST_Litem *idx) const
18
if (type == tprob_discrete)
19
return (EST_Litem *)(((unsigned char *)idx)+1);
25
const EST_String &EST_DiscreteProbDistribution::item_name(EST_Litem *idx) const