]> arthur.barton.de Git - netatalk.git/blobdiff - bin/megatron/macbin.c
Avoid underflow with cc
[netatalk.git] / bin / megatron / macbin.c
index b317c2fa2d0614ee93e9f8afd99f40e347e02545..73ae629204b4ff0afd55b417a03e72cbe61062ef 100644 (file)
@@ -523,7 +523,7 @@ int bin_header_write(struct FHeader *fh)
 int test_header(void)
 {
     const char          zeros[25] = "";
-    u_int32_t          cc;
+    ssize_t            cc;
     u_short            header_crc;
     u_char             namelen;