On Sun, Feb 1, 2009 at 3:50 PM, Gabriel Dos Reis <gdr@integrable-solutions.net> wrote:
  (int)(intptr_t)file

since intptr_t is garanteed to be precise enough to hold
a value of type void*.

Well, casting it to (int) [if that causes problems] would simply truncate it again anyway- even though it was originally cast to intptr_t