Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 149402 Details for
Bug 217299
dev-games/ogreode - new package
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
ogreode-0.7.10_p20080409-gcc-4.patch
ogreode-0.7.10_p20080409-gcc-4.patch (text/plain), 3.44 KB, created by
James Le Cuirot
on 2008-04-11 14:14:38 UTC
(
hide
)
Description:
ogreode-0.7.10_p20080409-gcc-4.patch
Filename:
MIME Type:
Creator:
James Le Cuirot
Created:
2008-04-11 14:14:38 UTC
Size:
3.44 KB
patch
obsolete
>diff -Naur src.old/OgreOdeBody.cpp src/OgreOdeBody.cpp >--- src.old/OgreOdeBody.cpp 2008-04-10 15:36:12.287711000 +0100 >+++ src/OgreOdeBody.cpp 2008-04-10 15:37:36.761626690 +0100 >@@ -520,7 +520,7 @@ > //----------------------------------------------------------------------- > Joint* Body::getJoint(int index) > { >- return (Joint*)_world->getJointList().findItem((unsigned int)dBodyGetJoint(_body,index)); >+ return (Joint*)_world->getJointList().findItem((unsigned long)dBodyGetJoint(_body,index)); > } > //----------------------------------------------------------------------- > size_t Body::getGeometryCount() >@@ -717,7 +717,7 @@ > destroyDebugNode(); > delete _mass; > >- _world->getBodyList().unregisterItem((unsigned int)_body); >+ _world->getBodyList().unregisterItem((unsigned long)_body); > dBodyDestroy(_body); > } > >diff -Naur src.old/OgreOdeGeometry.cpp src/OgreOdeGeometry.cpp >--- src.old/OgreOdeGeometry.cpp 2008-04-10 15:36:12.298626000 +0100 >+++ src/OgreOdeGeometry.cpp 2008-04-10 15:37:36.762876728 +0100 >@@ -211,7 +211,7 @@ > { > _debug_contacts = new DebugContact*[_max_contacts]; > for (unsigned int i = 0; i < _max_contacts; i++) >- _debug_contacts[i] = new DebugContact(Ogre::StringConverter::toString((int)_geom) + >+ _debug_contacts[i] = new DebugContact(Ogre::StringConverter::toString((long)_geom) + > "_Contact_" + > Ogre::StringConverter::toString(i), > _world); >@@ -273,7 +273,7 @@ > //------------------------------------------------------------------------------------------------ > Space* Geometry::getSpace() > { >- return (Space*)_world->getSpaceList().findItem((unsigned int)dGeomGetSpace(_geom)); >+ return (Space*)_world->getSpaceList().findItem((unsigned long)dGeomGetSpace(_geom)); > } > > >@@ -425,7 +425,7 @@ > } > _debug_contacts = new DebugContact*[max_contacts]; > for (unsigned int i = 0; i < max_contacts; i++) >- _debug_contacts[i] = new DebugContact(Ogre::StringConverter::toString((int)_geom) + + "_Contact_" + Ogre::StringConverter::toString(i), >+ _debug_contacts[i] = new DebugContact(Ogre::StringConverter::toString((long)_geom) + + "_Contact_" + Ogre::StringConverter::toString(i), > _world); > } > _max_contacts = max_contacts; >diff -Naur src.old/OgreOdeJoint.cpp src/OgreOdeJoint.cpp >--- src.old/OgreOdeJoint.cpp 2008-04-10 15:36:12.303420000 +0100 >+++ src/OgreOdeJoint.cpp 2008-04-10 15:37:36.762876728 +0100 >@@ -35,7 +35,7 @@ > > JointGroup::~JointGroup() > { >- _world->getJointGroupList().unregisterItem((unsigned int)_joint_group); >+ _world->getJointGroupList().unregisterItem((unsigned long)_joint_group); > dJointGroupDestroy(_joint_group); > } > >diff -Naur src.old/OgreOdeSpace.cpp src/OgreOdeSpace.cpp >--- src.old/OgreOdeSpace.cpp 2008-04-10 15:36:12.312932000 +0100 >+++ src/OgreOdeSpace.cpp 2008-04-10 15:37:36.763876673 +0100 >@@ -62,7 +62,7 @@ > //------------------------------------------------------------------------------------------------ > Geometry* Space::getGeometry(int index) > { >- return (Geometry*) _world->getGeometryList().findItem((unsigned int)dSpaceGetGeom(_space,index)); >+ return (Geometry*) _world->getGeometryList().findItem((unsigned long)dSpaceGetGeom(_space,index)); > } > //------------------------------------------------------------------------------------------------ > void Space::registerSpace()
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 217299
:
149401
| 149402