I actually had submitted a patch about this before, and it went in, but to my shame, I probably missed these ones. Anyways, patch to io.h is attached which makes all findfirst() to return intptr_t and all findnext() to accept intptr_t as first arg and return an int. Hopefully complete this time. Feel free to review and apply if OK.
findfirst/findnext intptr_t patch
Your patch has been accepted and is now commited to CVS. You should expect to see it in the next release.
Your patch has been accepted and is now commited to CVS. You should expect to see it in the next release.