google-code-export / bullet

Automatically exported from code.google.com/p/bullet
0 stars 0 forks source link

uint64_t typedef'd improperly in BulletMultithreaded #778

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
In the file PlatformDefinitions.h in the BulletMultiThreaded library uint64_t 
is typedef'd to "unsigned long int".  This is just plain wrong.  Furthermore it 
causes compilation issues when casting between integers and pointers elsewhere 
in Bullet on MinGW64 (which is how I discovered the bug).

The fix is simple, instead typedef it to "unsigned long long int".  Not sure a 
patch is necessary given the simplicity of the fix, but just in case, I have 
provided one (generated using TortoiseUDiff).

Original issue reported on code.google.com by makoener...@gmail.com on 5 Dec 2013 at 7:13

Attachments:

GoogleCodeExporter commented 9 years ago
BulletMultithreaded is discontinued, it will be replaced by some new system in 
Bullet 3 (to be decided)
and this tracked will be shut down. All moved to 
http://github.com/bulletphysics/bullet3

Original comment by erwin.coumans on 30 Mar 2014 at 5:23