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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
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
|