tekknolagi/carp — pull request #29 by akkartik (2014-09-11 00:05:46+00:00)
Title: attempt to fix compiler errors on cygwin

I think this should do it, as per that stack overflow link. Unless your earlier cast to `int` fixed the problem?