Skip to content

Commit

Permalink
Fixed: "long" is an ambiguous type
Browse files Browse the repository at this point in the history
The "long" type is CPU and compiler dependent. Instead of it we should
always use the types defined in libdeng2.h.
  • Loading branch information
skyjake committed Apr 13, 2012
1 parent f468ae4 commit 3d2a2fd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions doomsday/engine/portable/src/edit_bsp.cpp
Expand Up @@ -317,12 +317,12 @@ void MPE_SaveBsp(BspBuilder_c* builder_c, GameMap* map, uint* numEditableVertexe
Q_ASSERT(builder_c);
BspBuilder& builder = *builder_c->inst;

long rHeight, lHeight;
dint32 rHeight, lHeight;
BspTreeNode* rootNode = builder.root();
if(!rootNode->isLeaf())
{
rHeight = long(rootNode->right()->height());
lHeight = long(rootNode->left()->height());
rHeight = dint32(rootNode->right()->height());
lHeight = dint32(rootNode->left()->height());
}
else
{
Expand Down

0 comments on commit 3d2a2fd

Please sign in to comment.