From 9c6cc47f749d37fb0cc9d5ff48818237bacd5012 Mon Sep 17 00:00:00 2001 From: unknown Date: Mon, 7 Mar 2005 12:03:33 +0200 Subject: InnoDB: Portability fixes for warnings reported on IA-64 Windows innobase/buf/buf0lru.c: Portability fix: Use %p for printing pointers innobase/dict/dict0dict.c: Properly cast the arguments of toupper() innobase/eval/eval0proc.c: Declare loop_var_value with a matching data type. innobase/include/mem0mem.ic: Remove implicit type conversion innobase/include/page0page.ic: Portability fix: Use %p for printing pointers innobase/include/pars0pars.h: Remove implicit type conversion innobase/include/pars0sym.h: Remove implicit type conversion innobase/mem/mem0dbg.c: Portability fix: Use %p for printing pointers innobase/os/os0file.c: Add DWORD casts for Windows innobase/os/os0sync.c: Add DWORD casts for Windows innobase/os/os0thread.c: Add DWORD casts for Windows innobase/rem/rem0cmp.c: Make implicit type conversions explicit innobase/row/row0mysql.c: Make implicit type conversions explicit innobase/row/row0sel.c: Portability fix: Use %p for printing pointers innobase/trx/trx0sys.c: Declare trx_sys_mysql_bin_log_pos_high and trx_sys_mysql_bin_log_pos_low with a matching data type innobase/ut/ut0ut.c: Make implicit type conversion explicit --- innobase/buf/buf0lru.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'innobase/buf') diff --git a/innobase/buf/buf0lru.c b/innobase/buf/buf0lru.c index f3fb19ae183..05e92933edf 100644 --- a/innobase/buf/buf0lru.c +++ b/innobase/buf/buf0lru.c @@ -877,11 +877,11 @@ buf_LRU_block_remove_hashed_page( (ulong) block->offset); if (buf_page_hash_get(block->space, block->offset)) { fprintf(stderr, -"InnoDB: From hash table we find block %lx of %lu %lu which is not %lx\n", - (ulong) buf_page_hash_get(block->space, block->offset), +"InnoDB: From hash table we find block %p of %lu %lu which is not %p\n", + buf_page_hash_get(block->space, block->offset), (ulong) buf_page_hash_get(block->space, block->offset)->space, (ulong) buf_page_hash_get(block->space, block->offset)->offset, - (ulong) block); + block); } #ifdef UNIV_DEBUG -- cgit v1.2.1