History

removed unneeded cast

ZappoMan committed 13 years ago

Commit d6428a81 parent 6a2bab22 files · +2 −2Browse files

Showing the changes to interface/src/VoxelSystem.cpp (1 of 2 files). Show all

Unified · Split

interface/src/VoxelSystem.cpp+1−1
@@ -59,7 +59,7 @@ VoxelSystem::VoxelSystem(float treeScale, int maxVoxels) : · 58 unmodified lines
5959 pthread_mutex_init(&_bufferWriteLock, NULL);
6060 pthread_mutex_init(&_treeLock, NULL);
6161
62− _hookID = VoxelNode::addDeleteHook(voxelNodeDeleteHook, (void*)this);
62+ _hookID = VoxelNode::addDeleteHook(voxelNodeDeleteHook, this);
6363 _abandonedVBOSlots = 0;
6464 }
6565