summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/subr-x.el
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2015-11-26 19:53:47 +0200
committerEli Zaretskii <eliz@gnu.org>2015-11-26 19:53:47 +0200
commit6f5f62b3c79485245b1f6d3d9a33d72da92c9e1d (patch)
treef43eb82766dc71b962385f04e4c32e4bf4ca2d9d /lisp/emacs-lisp/subr-x.el
parent02cd9cb8afd9510e3bdb20ce7148d1b9a6aa9d12 (diff)
downloademacs-6f5f62b3c79485245b1f6d3d9a33d72da92c9e1d.tar.gz
emacs-6f5f62b3c79485245b1f6d3d9a33d72da92c9e1d.tar.bz2
emacs-6f5f62b3c79485245b1f6d3d9a33d72da92c9e1d.zip
Fix compiler warnings in w32.c
* src/w32.c (sys_socket): In case of error, use -1 as return value, not INVALID_SOCKET, which causes compiler warnings. (maybe_load_unicows_dll): Cast the return value of GetProcAddress to the appropriate function signature, to avoid compiler errors. Reported by Andy Moreton <andrewjmoreton@gmail.com>. (Bug#21953)
Diffstat (limited to 'lisp/emacs-lisp/subr-x.el')
0 files changed, 0 insertions, 0 deletions