~mdw
/
sgt
/
halibut
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Make sure (paragraph)->private_data is defined in all cases, on general
[sgt/halibut]
/
winhelp.c
diff --git
a/winhelp.c
b/winhelp.c
index
ec36031
..
9bf1bd0
100644
(file)
--- a/
winhelp.c
+++ b/
winhelp.c
@@
-418,7
+418,7
@@
static unsigned long context_hash(char *context)
if (val > 0 && hash > (0xFFFFFFFFUL - val)) {
hash -= (0xFFFFFFFFUL - val) + 1;
- } else if (val < 0 && hash < -val) {
+ } else if (val < 0 && hash <
(unsigned long)
-val) {
hash += (0xFFFFFFFFUL + val) + 1;
} else
hash += val;