Ticket #30 (closed defect: fixed)
x86_64 Portability Bug.
| Reported by: | ronsaldo | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Libs | Version: | svn-head |
| Keywords: | Cc: | ||
| Platform: | Linux: Ubuntu |
Description
I have found a portability bug in a 64 bits Ubuntu build of Cafu, in which an assertion is hit when it tries to loads a map with Bezier patches such TechDemo and TestPatches. The bug is produced because sizeof(unsigned long) == 8 instead of 4 in 64 bits Linux systems.
The attached patch fix the bug so it can load those maps.
Because there is the possibility of another similar bug in another part of Cafu, I added the includes into Nodes.hpp instead of only BezierPatchNode.hpp.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

