24 Apr
2008
24 Apr
'08
12:16 a.m.
On Wed, Apr 23, 2008 at 11:53:24PM +0200, Justus Winter wrote:
dialog.cc:249: error: cast from ?void*? to ?int? loses precision
A parameter of type void* for a callback is used to carry a small integer (most likely the number of the button pressed or something). I solved this one by first casting to long and then to int. I saw this somewhere on the net, don't know if this is too hacky.
Please cast to (u)intptr_t instead. Joerg