]> git.ipfire.org Git - thirdparty/zlib-ng.git/commitdiff
Remove use of typedef()
authorhansr <hk-git@circlestorm.org>
Thu, 16 Oct 2014 11:33:16 +0000 (13:33 +0200)
committerhansr <hk-git@circlestorm.org>
Thu, 16 Oct 2014 11:33:16 +0000 (13:33 +0200)
deflate.c

index d09fcb5af2f85dcd84c7d3b0a1b2faab707a5cd7..c8fea7619b36e5f39adca0e8cfbe79c31a80756f 100644 (file)
--- a/deflate.c
+++ b/deflate.c
@@ -1303,7 +1303,7 @@ local void fill_window_c(s)
              */
             {
                 int i; 
-                typeof(p) q = p - n;
+                Pos *q = p - n;
                 for (i = 0; i < n; i++) {
                     Pos m = *q;
                     Pos t = wsize;
@@ -1326,7 +1326,7 @@ local void fill_window_c(s)
 #else
             {
                 int i; 
-                typeof(p) q = p - n;
+                Pos *q = p - n;
                 for (i = 0; i < n; i++) {
                     Pos m = *q;
                     Pos t = wsize;