]> mj.ucw.cz Git - libucw.git/commitdiff
Some typecasts due to LFS.
authorMartin Mares <mj@ucw.cz>
Fri, 9 Mar 2001 12:43:20 +0000 (12:43 +0000)
committerMartin Mares <mj@ucw.cz>
Fri, 9 Mar 2001 12:43:20 +0000 (12:43 +0000)
lib/buckettool.c

index 609d4e03b933b71ee25f1560d4fda731e7cd4b18..f540f24ca31b19f540bcebe70523734f219d8044 100644 (file)
@@ -200,7 +200,7 @@ fsck(int fix)
        }
       while (nh.magic != OBUCK_MAGIC ||
             (nh.oid != (oid_t)(end >> OBUCK_SHIFT) && nh.oid != OBUCK_OID_DELETED));
-      printf("*** match at oid %08x\n", end >> OBUCK_SHIFT);
+      printf("*** match at oid %08x\n", (uns)(end >> OBUCK_SHIFT));
       if (fix)
        {
          h.magic = OBUCK_MAGIC;
@@ -209,7 +209,7 @@ fsck(int fix)
          sh_pwrite(fd, &h, sizeof(h), pos);
          chk = OBUCK_TRAILER;
          sh_pwrite(fd, &chk, 4, end-4);
-         printf("*** replaced the invalid chunk by a DELETED bucket of size %d\n", end - pos);
+         printf("*** replaced the invalid chunk by a DELETED bucket of size %d\n", (uns)(end - pos));
        }
       pos = end;
     }