Renaming to "unsigned int" fixed building for me on MINGW...

diff --git a/src/idct.c b/src/idct.c
index 08aa41c..b467b65 100644
--- a/src/idct.c
+++ b/src/idct.c
@@ -28,8 +28,8 @@ float std[] = {
 int main(int argc, char *argv[]) {
     FILE *fin, *fout;
     fin = stdin; fout = stdout;
-    uint ret;
-    uint stride = NB_BANDS;
+    unsigned int ret;
+    unsigned int stride = NB_BANDS;
     int measure = 0;
     int scaling = 0;

@@ -63,7 +63,7 @@ int main(int argc, char *argv[]) {
     float sum[NB_BANDS] = {0.0};
     float sumsq[NB_BANDS] = {0.0};
     float dctLy[stride], Ly[stride];
-    uint i; for(i=0; i<stride; i++) Ly[stride] = 0.0;
+    unsigned int i; for(i=0; i<stride; i++) Ly[stride] = 0.0;
     long n = 0;
     while(fread(dctLy, sizeof(float), stride, fin) == stride) {
         idct(Ly, dctLy);


Any objection to committing?

Thanks,
Richard
KF5OIM
_______________________________________________
Freetel-codec2 mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freetel-codec2

Reply via email to