[MacPorts] #28688: euchre: cast from 'void*' to 'unsigned int' loses precision

MacPorts noreply at macports.org
Mon Mar 7 01:01:45 PST 2011


#28688: euchre: cast from 'void*' to 'unsigned int' loses precision
-------------------------------------+--------------------------------------
 Reporter:  ryandesign@…             |       Owner:  abender@…        
     Type:  defect                   |      Status:  new              
 Priority:  Normal                   |   Milestone:                   
Component:  ports                    |     Version:  1.9.2            
 Keywords:                           |        Port:  euchre           
-------------------------------------+--------------------------------------
 euchre 0.7c does not compile on Snow Leopard on a 64-bit Mac, saying:

 {{{
 Game.cpp:62: error: cast from 'void*' to 'unsigned int' loses precision
 }}}

 I created the attached patch, which at least allows the program to compile
 and open. (Don't know if it runs correctly.)

-- 
Ticket URL: <https://trac.macports.org/ticket/28688>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list