Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 298781 - games-strategy/freecnc externalvfs.cpp 64-bit cast loses precision
Summary: games-strategy/freecnc externalvfs.cpp 64-bit cast loses precision
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-28 19:59 UTC by befros
Modified: 2015-05-21 05:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch to correct the problem (freecnc-0.2.1.31072003-64bit-vfs.patch,1003 bytes, text/plain)
2009-12-28 20:00 UTC, befros
Details

Note You need to log in before you can comment on or make changes to this bug.
Description befros 2009-12-28 19:59:49 UTC
Unable to compile externalvfs.cpp on 64-bit gcc 4.4.1 p1.0 due to 'FILE *' pointer cast.



Reproducible: Always

Steps to Reproduce:
1. with AMD64 and gcc 4.4.1, emerge =games-strategy/freecnc-0.2.1.31072003 

Actual Results:  
Error:
vfs/externalvfs.cpp: In member function 'Uint32 ExternalFiles::getFile(const char*, const char*)':                                                           
vfs/externalvfs.cpp:82: error: cast from 'FILE*' to 'Uint32' loses precision                                                                                 
vfs/externalvfs.cpp:100: error: cast from 'FILE*' to 'Uint32' loses precision                                                                                
vfs/externalvfs.cpp: In member function 'Uint32 ExternalFiles::getFile(const char*, const char*)':                                                           
vfs/externalvfs.cpp:82: error: cast from 'FILE*' to 'Uint32' loses precision                                                                                 
vfs/externalvfs.cpp:100: error: cast from 'FILE*' to 'Uint32' loses precision
Comment 1 befros 2009-12-28 20:00:34 UTC
Created attachment 214475 [details]
Patch to correct the problem
Comment 2 Mr. Bones. (RETIRED) gentoo-dev 2015-05-21 05:42:30 UTC
games-strategy/freecnc is gone.