1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* win32/win32.c (rb_w32_write): use of cast expressions as lvalues

is deprecated.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21986 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2009-02-02 23:01:43 +00:00
parent b256c5fb8f
commit 209cfdcfb5
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
Tue Feb 3 08:01:38 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
* win32/win32.c (rb_w32_write): use of cast expressions as lvalues
is deprecated.
Tue Feb 3 07:57:58 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
* ext/socket/extconf.rb (in_pktinfo, in6_pktinfo),

View file

@ -4602,7 +4602,7 @@ rb_w32_write(int fd, const void *buf, size_t size)
ret += written;
if (written == len) {
(const char *)buf += len;
buf = (const char *)buf + len;
if (size > 0)
goto retry;
}