]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - lib/zlib/trees.c
lib: zlib: include deflate into zlib build
[karo-tx-uboot.git] / lib / zlib / trees.c
index 56e9bb1c115e81082f58a89b003b766760e12a12..a0078d08ee039a14575cb87257b099b925878ee9 100644 (file)
@@ -1168,14 +1168,14 @@ local int detect_data_type(s)
  * method would use a table)
  * IN assertion: 1 <= len <= 15
  */
-local unsigned bi_reverse(code, len)
-    unsigned code; /* the value to invert */
+local unsigned bi_reverse(value, len)
+    unsigned value; /* the value to invert */
     int len;       /* its bit length */
 {
     register unsigned res = 0;
     do {
-        res |= code & 1;
-        code >>= 1, res <<= 1;
+        res |= value & 1;
+        value >>= 1, res <<= 1;
     } while (--len > 0);
     return res >> 1;
 }