Merge pull request #781 from liyuray/development

fix crash issue on mingw caused by variable argument list type promotion.
This commit is contained in:
Scott J. Goldman 2012-06-21 11:15:30 -07:00
commit 6a9239990a

View File

@ -232,7 +232,7 @@ int p_open(const char *path, int flags, ...)
va_list arg_list;
va_start(arg_list, flags);
mode = va_arg(arg_list, mode_t);
mode = (mode_t)va_arg(arg_list, int);
va_end(arg_list);
}