X-Git-Url: https://wimlib.net/git/?a=blobdiff_plain;f=src%2Fblob_table.c;h=cec5b4986337f3cc878963957cc687d2f616870b;hb=9ba9f3ee7bf1b0e6b211425a6c495f5dddf8c2d0;hp=5c26e894aa9219d53c3da7957f50906b4672955c;hpb=da8b869bbe7cf8e9a213d4657747c2fd6c0b9340;p=wimlib diff --git a/src/blob_table.c b/src/blob_table.c index 5c26e894..cec5b498 100644 --- a/src/blob_table.c +++ b/src/blob_table.c @@ -1275,7 +1275,7 @@ after_blob_hashed(struct blob_descriptor *blob, * blob (from a stream) to point to the duplicate. The caller * is responsible for freeing @blob if needed. */ if (duplicate_blob->size != blob->size) { - tchar hash_str[SHA1_HASH_SIZE * 2 + 1]; + tchar hash_str[SHA1_HASH_STRING_LEN]; sprint_hash(blob->hash, hash_str); WARNING("SHA-1 collision at \"%"TS"\"\n"