fix(nwc24): use a defined unsigned retry mask #1006
Reference in New Issue
Block a user
Delete Branch "agent/bittle/download-retry-mask"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Correctness fix
The validated retry-count range includes 31. Shifting signed 1 by 31 is undefined in C; use 1U for the existing 32-bit retry mask. Error precedence and all accepted/rejected inputs are preserved.
Independent verification
This is a local predicate test, not network/filesystem integration. No percentage gain, new exact function, header, layout, metadata or linking change claimed.
Parent baseline:
e4a9449256Tested tree:
0a81776259DOL SHA1: 26116613f624061ba99c8d1a299aaa6efa85670d
No merge performed or requested by this author.
Reviewed and merged: rebased on main, full build ok, DOL sha1 26116613f624061ba99c8d1a299aaa6efa85670d, 0 regressions, 0 forbidden patterns.