mirror of
https://github.com/amadvance/snapraid.git
synced 2026-10-26 10:51:54 -04:00
Add unsigned literal suffixes to constants
This commit is contained in:
parent
dd04cbde7c
commit
6d4c4925f4
1 changed files with 1 additions and 1 deletions
|
|
@ -13,7 +13,7 @@
|
|||
* Pseudo random limits for parity
|
||||
*/
|
||||
#define PARITY_LIMIT(size, split, level) \
|
||||
size ? size + (123562341 + split * 634542351 + level * 983491341) % size : 0
|
||||
(size ? (size) + (123562341U + (split) * 634542351U + (level) * 983491341U) % (size) : 0)
|
||||
|
||||
/****************************************************************************/
|
||||
/* parity */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue