No, it's just there compiler being stupid. That's a useful *warning* but 
it should not be an error!

The workaround everybody uses is to replace int(ptr) with 
int(long(ptr)). I changed it to this and checked it in.

Changing the values to size_t will just make warnings appear somewhere else.

imacarthur wrote:
> 
> On 10 Nov 2008, at 22:01, Dejan Lekic wrote:
> 
>> Bill, looks like there are some problems on 64-bit platforms...
>>
>> SNIP:
> 
>> ShortcutAssignment.cxx:112: error: cast from ‘void*’ to ‘unsigned int’
>> loses precision
> 
> Ugh, I hate when that happens...  I guess that int needs to be a long 
> (except on win64, where a long is still only 32-bits, so *there* it 
> maybe needs to be a long long...)
> 
> 
> 
> 
_______________________________________________
fltk-dev mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-dev

Reply via email to