mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-05 21:42:47 -05:00
Fix miscellaneous compiler warnings. Thanks to Jacob Nevins
[originally from svn r755]
This commit is contained in:
3
winnet.c
3
winnet.c
@ -5,6 +5,7 @@
|
||||
#include <windows.h>
|
||||
#include <winsock.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "putty.h"
|
||||
#include "network.h"
|
||||
@ -336,7 +337,7 @@ int select_result(WPARAM wParam, LPARAM lParam) {
|
||||
DWORD err;
|
||||
char buf[BUFFER_GRANULE];
|
||||
Socket s;
|
||||
int atmark;
|
||||
u_long atmark;
|
||||
|
||||
/* wParam is the socket itself */
|
||||
s = find234(sktree, (void *)wParam, cmpforsearch);
|
||||
|
Reference in New Issue
Block a user