*** 91,101 **** if (errno != 0) { /* C runtime error that has no corresponding DOS error code */ strerror_s(buf, len, errno); ! return strlen(buf); } return 0; } #endif /* _WINDOWS */ --- 91,101 ---- if (errno != 0) { /* C runtime error that has no corresponding DOS error code */ strerror_s(buf, len, errno); ! return (int)strlen(buf); } return 0; } #endif /* _WINDOWS */