1
0
mirror of https://github.com/MariaDB/server.git synced 2025-05-02 19:25:03 +03:00

Add cast to remove compiler warning

This commit is contained in:
monty@mysql.com 2003-12-10 12:03:54 +02:00
parent 595121b816
commit cfeec4f58e

View File

@ -2181,7 +2181,7 @@ void Query_cache::free_memory_block(Query_cache_block *block)
block->type= Query_cache_block::FREE; // mark block as free in any case
DBUG_PRINT("qcache",
("first_block 0x%lx, block 0x%lx, pnext 0x%lx pprev 0x%lx",
(ulong) first_block, (ulong) block,block->pnext,
(ulong) first_block, (ulong) block, (ulong) block->pnext,
(ulong) block->pprev));
if (block->pnext != first_block && block->pnext->is_free())