projects
/
rrq
/
rrqmisc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
da225d6
)
bug fix; item and key were mixed up
author
Ralph Ronnquist
<ralph.ronnquist@gmail.com>
Fri, 22 Jul 2022 05:41:53 +0000
(15:41 +1000)
committer
Ralph Ronnquist
<ralph.ronnquist@gmail.com>
Fri, 22 Jul 2022 05:41:53 +0000
(15:41 +1000)
vector/HashVector.c
patch
|
blob
|
history
diff --git
a/vector/HashVector.c
b/vector/HashVector.c
index a07a9169b2c1167cff10c9ba8c37430f6b15898b..7b68c59f9f3e9ded09e8e3a4151bdbf94bb120c4 100644
(file)
--- a/
vector/HashVector.c
+++ b/
vector/HashVector.c
@@
-57,7
+57,7
@@
static void **HashVector_find_slot(
// Find the keyed item
void *HashVector_find(HashVector *hv,void *key) {
VectorIndex index = 0;
- void **slot = HashVector_find_slot( hv,
&index, key
, 0 );
+ void **slot = HashVector_find_slot( hv,
key, &index
, 0 );
return ( slot && *slot && *slot != HV_HOLE )? *slot : 0;
}