summaryrefslogtreecommitdiff
path: root/libihash/ihash.h
diff options
context:
space:
mode:
authorMarcus Brinkmann <marcus@gnu.org>2004-04-21 21:34:16 +0000
committerMarcus Brinkmann <marcus@gnu.org>2004-04-21 21:34:16 +0000
commit01a0ed291e83710bb49df9e9726054e9d2647fae (patch)
tree115c3247a547034aa8a5bc235a90cd1f9146ce85 /libihash/ihash.h
parent83e12119b30fd0c01204aff8f8b40a1700eb72ab (diff)
2004-04-21 Marcus Brinkmann <marcus@gnu.org>
* ihash.h (HURD_IHASH_ITERATE): Don't use increment operator in assignment, but just add one. Reported by Ognyan Kulev.
Diffstat (limited to 'libihash/ihash.h')
-rw-r--r--libihash/ihash.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libihash/ihash.h b/libihash/ihash.h
index 0be65efe..a4e76dc4 100644
--- a/libihash/ihash.h
+++ b/libihash/ihash.h
@@ -215,7 +215,7 @@ hurd_ihash_value_t hurd_ihash_find (hurd_ihash_t ht, hurd_ihash_key_t key);
< (ht)->size \
&& (val = *_hurd_ihash_valuep, 1); \
_hurd_ihash_valuep = (hurd_ihash_value_t *) \
- (((_hurd_ihash_item_t) _hurd_ihash_valuep)++)) \
+ (((_hurd_ihash_item_t) _hurd_ihash_valuep) + 1)) \
if (val != _HURD_IHASH_EMPTY && val != _HURD_IHASH_DELETED)
/* Remove the entry with the key KEY from the hash table HT. If such