[haiku-commits] r34421 - haiku/trunk/src/system/kernel/util

  • From: ingo_weinhold@xxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Tue, 1 Dec 2009 18:26:22 +0100 (CET)

Author: bonefish
Date: 2009-12-01 18:26:22 +0100 (Tue, 01 Dec 2009)
New Revision: 34421
Changeset: http://dev.haiku-os.org/changeset/34421/haiku

Modified:
   haiku/trunk/src/system/kernel/util/khash.cpp
Log:
Accidentally reverted this change before committing: Invalid cast in C++.


Modified: haiku/trunk/src/system/kernel/util/khash.cpp
===================================================================
--- haiku/trunk/src/system/kernel/util/khash.cpp        2009-12-01 17:22:28 UTC 
(rev 34420)
+++ haiku/trunk/src/system/kernel/util/khash.cpp        2009-12-01 17:26:22 UTC 
(rev 34421)
@@ -426,7 +426,7 @@
                        dprintf("%6lu:", i);
                        while (element != NULL) {
                                dprintf(" %p", element);
-                               element = NEXT(table, element);
+                               element = (hash_element*)NEXT(table, element);
                        }
                        dprintf("\n");
                }


Other related posts:

  • » [haiku-commits] r34421 - haiku/trunk/src/system/kernel/util - ingo_weinhold