Hi Matthias,

this is the debdiff we spoke about on irc.
For ubuntu the fix is already uploaded....for your debian package I created 
this debdiff against the version in sid (it's numbered as NMU, means -9.2)

Regards,

\sh

diff -u speech-tools-1.2.3/stats/EST_DProbDist.cc speech-tools-1.2.3/stats/EST_DProbDist.cc
--- speech-tools-1.2.3/stats/EST_DProbDist.cc
+++ speech-tools-1.2.3/stats/EST_DProbDist.cc
@@ -310,7 +310,7 @@
     if (type == tprob_discrete)
 	return 0;
     else
-	return (int)scounts.list.head();
+	return (long)scounts.list.head();
 }
 
 int EST_DiscreteProbDistribution::item_end(int idx) const
@@ -326,7 +326,7 @@
     if (type == tprob_discrete)
 	return ++idx;
     else
-	return (int)next((EST_Litem *)idx);
+	return (long)next((EST_Litem *)idx);
 }
 
 const EST_String &EST_DiscreteProbDistribution::item_name(int idx) const
diff -u speech-tools-1.2.3/ling_class/item_feats.cc speech-tools-1.2.3/ling_class/item_feats.cc
--- speech-tools-1.2.3/ling_class/item_feats.cc
+++ speech-tools-1.2.3/ling_class/item_feats.cc
@@ -78,7 +78,7 @@
    EST_String name = EST_FeatureFunctionContext::global->get_featfunc_name(func, found);
 
    if (!found)
-	EST_error("featfunc 0x%x has no name", (int)func);
+	EST_error("featfunc 0x%x has no name", (long)func);
 
     return name;
 }
diff -u speech-tools-1.2.3/debian/changelog speech-tools-1.2.3/debian/changelog
--- speech-tools-1.2.3/debian/changelog
+++ speech-tools-1.2.3/debian/changelog
@@ -1,3 +1,11 @@
+speech-tools (1:1.2.3-9.2) unstable; urgency=low
+
+  * Fixed amd64 bugs:
+    + in ling_class/item_feats.cc (Closes: dbts #346264)
+    + in stats/EST_DProbDist.cc
+
+ -- Stephan Hermann <[EMAIL PROTECTED]>  Fri,  6 Jan 2006 21:21:10 +0100
+
 speech-tools (1:1.2.3-9.1) unstable; urgency=high
 
   * Non-maintainer upload.

Attachment: pgpHQF4c2TE6L.pgp
Description: PGP signature

Reply via email to