diff options
| author | Eli Zaretskii | 2015-11-26 19:53:47 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2015-11-26 19:53:47 +0200 |
| commit | 6f5f62b3c79485245b1f6d3d9a33d72da92c9e1d (patch) | |
| tree | f43eb82766dc71b962385f04e4c32e4bf4ca2d9d /src/bytecode.c | |
| parent | 02cd9cb8afd9510e3bdb20ce7148d1b9a6aa9d12 (diff) | |
| download | emacs-6f5f62b3c79485245b1f6d3d9a33d72da92c9e1d.tar.gz 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 'src/bytecode.c')
0 files changed, 0 insertions, 0 deletions