From 94cb8e9c26068b5c202820090e965814cda56707 Mon Sep 17 00:00:00 2001 From: vl Date: Tue, 11 May 2010 11:11:36 +0200 Subject: [PATCH] Changed: #853 fixed a void* to uint32 conversion --- .../server/src/entities_game_service/cdb_struct_banks.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/code/ryzom/server/src/entities_game_service/cdb_struct_banks.cpp b/code/ryzom/server/src/entities_game_service/cdb_struct_banks.cpp index 5f9493a15..1ce423791 100644 --- a/code/ryzom/server/src/entities_game_service/cdb_struct_banks.cpp +++ b/code/ryzom/server/src/entities_game_service/cdb_struct_banks.cpp @@ -60,10 +60,10 @@ CCDBStructBanks *CCDBStructBanks::_Instance = NULL; void cbSetNodeForIndex( ICDBStructNode *node, void *bank ) { - //nldebug( "CDB: Mapping index %d of bank %s", node->getDataIndex(), CCDBStructBanks::getBankName((TCDBBank)(uint32)bank) ); - nlassert( node->getDataIndex() < CCDBStructBanks::instance()->_IndexNb[(TCDBBank)(uint32)bank] ); - nlassert( ! CCDBStructBanks::instance()->_IndexToNode [(TCDBBank)(uint32)bank] [node->getDataIndex()] ); - CCDBStructBanks::instance()->_IndexToNode [(TCDBBank)(uint32)bank] [node->getDataIndex()] = node; + //nldebug( "CDB: Mapping index %d of bank %s", node->getDataIndex(), CCDBStructBanks::getBankName((TCDBBank)(uint32)(size_t)bank) ); + nlassert( node->getDataIndex() < CCDBStructBanks::instance()->_IndexNb[(TCDBBank)(uint32)(size_t)bank] ); + nlassert( ! CCDBStructBanks::instance()->_IndexToNode [(TCDBBank)(uint32)(size_t)bank] [node->getDataIndex()] ); + CCDBStructBanks::instance()->_IndexToNode [(TCDBBank)(uint32)(size_t)bank] [node->getDataIndex()] = node; }