summaryrefslogtreecommitdiff
path: root/mysys/my_safehash.c
diff options
context:
space:
mode:
Diffstat (limited to 'mysys/my_safehash.c')
-rw-r--r--mysys/my_safehash.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mysys/my_safehash.c b/mysys/my_safehash.c
index c34f3c456cd..e50c5105875 100644
--- a/mysys/my_safehash.c
+++ b/mysys/my_safehash.c
@@ -166,7 +166,7 @@ uchar *safe_hash_search(SAFE_HASH *hash, const uchar *key, uint length,
result= def;
else
result= ((SAFE_HASH_ENTRY*) result)->data;
- DBUG_PRINT("exit",("data: 0x%lx", (long) result));
+ DBUG_PRINT("exit",("data: %p", result));
DBUG_RETURN(result);
}
@@ -197,7 +197,7 @@ my_bool safe_hash_set(SAFE_HASH *hash, const uchar *key, uint length,
SAFE_HASH_ENTRY *entry;
my_bool error= 0;
DBUG_ENTER("safe_hash_set");
- DBUG_PRINT("enter",("key: %.*s data: 0x%lx", length, key, (long) data));
+ DBUG_PRINT("enter",("key: %.*s data: %p", length, key, data));
mysql_rwlock_wrlock(&hash->mutex);
entry= (SAFE_HASH_ENTRY*) my_hash_search(&hash->hash, key, length);