Index: memcheck/tests/oset_test.c
===================================================================
--- memcheck/tests/oset_test.c	(revision 7313)
+++ memcheck/tests/oset_test.c	(working copy)
@@ -347,10 +347,10 @@
    return buf;
 }
 
-static Word blockCmp(void* vkey, void* velem)
+static Word blockCmp(const void* vkey, const void* velem)
 {
-   Addr   key  = *(Addr*)vkey;
-   Block* elem = (Block*)velem;
+   Addr   key  = *(const Addr*)vkey;
+   const Block* elem = (const Block*)velem;
 
    assert(elem->first <= elem->last);
    if (key < elem->first) return -1;