From fe01182ce4b6d088279516e56aba1f7e83c3562c Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Tue, 1 Dec 2009 17:26:22 +0000 Subject: [PATCH] Accidentally reverted this change before committing: Invalid cast in C++. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34421 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/system/kernel/util/khash.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/system/kernel/util/khash.cpp b/src/system/kernel/util/khash.cpp index 08594a7ae2..dded1ade73 100644 --- a/src/system/kernel/util/khash.cpp +++ b/src/system/kernel/util/khash.cpp @@ -426,7 +426,7 @@ hash_dump_table(struct hash_table* table) dprintf("%6lu:", i); while (element != NULL) { dprintf(" %p", element); - element = NEXT(table, element); + element = (hash_element*)NEXT(table, element); } dprintf("\n"); }