mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* win32/win32.c (overlapped_socket_io): get rid of a warning of 64bit
mingw. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29731 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
3c18caa4c2
commit
63b0601792
2 changed files with 8 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
Tue Nov 9 13:29:36 2010 NAKAMURA Usaku <usa@ruby-lang.org>
|
||||
|
||||
* win32/win32.c (overlapped_socket_io): get rid of a warning of 64bit
|
||||
mingw.
|
||||
|
||||
Tue Nov 9 10:44:19 2010 NARUSE, Yui <naruse@ruby-lang.org>
|
||||
|
||||
* util.c (ruby_strtod): this code uses FPU's rounding system.
|
||||
|
|
|
@ -2935,6 +2935,7 @@ overlapped_socket_io(BOOL input, int fd, char *buf, int len, int flags,
|
|||
}
|
||||
else {
|
||||
DWORD size;
|
||||
DWORD rlen;
|
||||
wbuf.len = len;
|
||||
wbuf.buf = buf;
|
||||
memset(&wol, 0, sizeof(wol));
|
||||
|
@ -2957,7 +2958,8 @@ overlapped_socket_io(BOOL input, int fd, char *buf, int len, int flags,
|
|||
}
|
||||
});
|
||||
|
||||
finish_overlapped_socket(s, &wol, ret, &r, size);
|
||||
finish_overlapped_socket(s, &wol, ret, &rlen, size);
|
||||
r = (int)rlen;
|
||||
}
|
||||
|
||||
return r;
|
||||
|
|
Loading…
Reference in a new issue