forked from laurikari/tre
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Use `uintptr_t` instead of `unsigned long`, as the latter is not necessarily the right size. * Make the hash itself unsigned, and use only unsgined arithmetic to compute it, to avoid the possibility of signed overflow, which would invoke undefined behavior. Inspired by the R repository.
- Loading branch information
1 parent
1e3f327
commit fd1e5c8
Showing
1 changed file
with
7 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters