Opened 13 years ago

Closed 13 years ago

Last modified 6 years ago

#3150 closed defect (fixed)

PARA: code not 64-bit safe

Reported by: SF/thomasklausner Owned by: peres
Priority: normal Component: Engine: Parallaction
Keywords: Cc:
Game: Nippon Safes

Description

Compilation of parallaction/font.cpp fails with on NetBSD-4.99.16/amd64 with "gcc-4.1.2 20070110 prerelease (NetBSD nb1 20070110)" fails with:
engines/parallaction/font.cpp: In constructor 'Parallaction::AmigaFont::AmigaFont(Common::SeekableReadStream&)':
engines/parallaction/font.cpp:308: error: cast from 'Parallaction::AmigaFont::CharLoc*' to 'uint32' loses precision
engines/parallaction/font.cpp:309: error: cast from 'byte*' to 'uint32' loses precision
engines/parallaction/font.cpp:310: error: cast from 'uint16*' to 'uint32' loses precision
engines/parallaction/font.cpp:311: error: cast from 'uint16*' to 'uint32' loses precision

Ticket imported from: #1702679. Ticket imported from: bugs/3150.

Change History (8)

comment:1 by SF/thomasklausner, 13 years ago

Owner: set to peres

comment:2 by peres, 13 years ago

Please update from SVN repository and let me know, so I can work on it more or closed this issue.

Thank you.

comment:3 by fingolfin, 13 years ago

Summary: parallaction code not 64-bit safePARA: code not 64-bit safe

comment:4 by fingolfin, 13 years ago

Status: newpending

comment:5 by SF/thomasklausner, 13 years ago

I can confirm that it's fixed. Thanks a lot for the quick solution!

comment:6 by SF/thomasklausner, 13 years ago

Status: pendingclosed

comment:7 by peres, 13 years ago

Resolution: fixed

comment:8 by Strangerke, 6 years ago

Component: --Unset--Engine: Parallaction
Game: Nippon Safes
Note: See TracTickets for help on using tickets.