* ext/socket/sockport.h (SET_SA_LEN): cast to void for supressing a
warning. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22296 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
6c4d5d1c0d
commit
9d37857e2b
@ -1,3 +1,8 @@
|
|||||||
|
Sat Feb 14 02:20:04 2009 Tanaka Akira <akr@fsij.org>
|
||||||
|
|
||||||
|
* ext/socket/sockport.h (SET_SA_LEN): cast to void for supressing a
|
||||||
|
warning.
|
||||||
|
|
||||||
Fri Feb 13 23:37:10 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
Fri Feb 13 23:37:10 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
* ext/dl/win32/lib/Win32API.rb (Win32API#initialize): DL.dlopen
|
* ext/dl/win32/lib/Win32API.rb (Win32API#initialize): DL.dlopen
|
||||||
|
@ -26,9 +26,9 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef HAVE_SA_LEN
|
#ifdef HAVE_SA_LEN
|
||||||
# define SET_SA_LEN(sa, len) (sa)->sa_len = (len)
|
# define SET_SA_LEN(sa, len) (void)((sa)->sa_len = (len))
|
||||||
#else
|
#else
|
||||||
# define SET_SA_LEN(sa, len) (len)
|
# define SET_SA_LEN(sa, len) (void)(len)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef HAVE_SIN_LEN
|
#ifdef HAVE_SIN_LEN
|
||||||
|
Loading…
x
Reference in New Issue
Block a user