due to MS platform WIN64 have sizeof(long)!=sizeof(void)

( see http://fltk.org/str.php?L2308 )

we can change long to intptr_t in callback functions or write

smth like this.

long argument() const {return (long)(intptr_t)user_data_;}

i have worked patch for current svn with conversions like 
(long)(intptr_t)user_data_.

i can commit it. but it seems not very good to write many conversions.


_______________________________________________
fltk-dev mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-dev

Reply via email to