diff options
Diffstat (limited to 'audio/bladeenc/patches/patch-am')
-rw-r--r-- | audio/bladeenc/patches/patch-am | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/audio/bladeenc/patches/patch-am b/audio/bladeenc/patches/patch-am new file mode 100644 index 00000000000..b7141120004 --- /dev/null +++ b/audio/bladeenc/patches/patch-am @@ -0,0 +1,62 @@ +$NetBSD: patch-am,v 1.1 1999/09/13 03:33:36 simonb Exp $ + +--- loop.c.orig Sat Jul 24 07:50:33 1999 ++++ loop.c Mon Sep 13 12:54:58 1999 +@@ -71,7 +71,7 @@ +
+ [table_number][row_in_table][column of nr_of_sfb]
+ */
+-static unsigned nr_of_sfb_block[6][3][4] =
++static unsigned int nr_of_sfb_block[6][3][4] =
+ {
+ {
+ {6, 5, 5, 5},
+@@ -445,7 +445,7 @@ + int xm_scfsi_band_krit = 10;
+
+ int scfsi_band;
+- unsigned scfsi_set;
++ unsigned int scfsi_set;
+
+ int sfb, start, end, i;
+ int condition = 0;
+@@ -1395,8 +1395,8 @@ +
+ struct
+ {
+- unsigned region0_count;
+- unsigned region1_count;
++ unsigned int region0_count;
++ unsigned int region1_count;
+ } subdv_table[ 23 ] =
+ {
+ {0, 0}, /* 0 bands */
+@@ -1789,8 +1789,8 @@ +
+ for ( ; sfb < 13; sfb++ )
+ {
+- unsigned tableindex = 100;
+- unsigned idx;
++ unsigned int tableindex = 100;
++ unsigned int idx;
+ struct huffcodetab *h;
+
+ start = scalefac_band_short[ sfb ];
+@@ -1870,7 +1870,7 @@ + int count_bit_tj( int abs_ix[576], unsigned int start, unsigned int end, unsigned int table )
+ {
+ int i, sum;
+- unsigned idx;
++ unsigned int idx;
+ struct huffcodetab *h;
+ int x, y;
+
+@@ -1951,7 +1951,7 @@ + double
+
+ aint(double in) {
+- return((long) in);
++ return((int) in);
+ }
+ #endif
+
|