mirror of
https://github.com/amadvance/snapraid.git
synced 2026-11-20 06:56:28 -05:00
Change the BLOCK_HASH_SIZE type to avoid potential overflow
This commit is contained in:
parent
6b9459346a
commit
fd77444254
7 changed files with 13 additions and 12 deletions
|
|
@ -11,7 +11,7 @@
|
|||
/****************************************************************************/
|
||||
/* snapraid */
|
||||
|
||||
int BLOCK_HASH_SIZE = HASH_MAX;
|
||||
size_t BLOCK_HASH_SIZE = HASH_MAX;
|
||||
|
||||
struct snapraid_content* content_alloc(const char* path, uint64_t dev)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue