]> wimlib.net Git - wimlib/blobdiff - src/sha1.h
Misc. fixes
[wimlib] / src / sha1.h
index 7a3b3129dccf645fe24d8aec07576277d72b6438..3f500b23b43b01e82fbeb7a1732e7f30e9af1fcb 100644 (file)
@@ -47,7 +47,7 @@ is_zero_hash(const u8 hash[SHA1_HASH_SIZE])
 {
        if (hash)
                for (u8 i = 0; i < SHA1_HASH_SIZE / 4; i++)
-                       if (((u32*)hash)[i])
+                       if (((const u32*)hash)[i])
                                return false;
        return true;
 }