Module: wine Branch: master Commit: 62b5d6b110786aac2692fe096b8b995ecec29ce5 URL: http://source.winehq.org/git/wine.git/?a=commit;h=62b5d6b110786aac2692fe096b...
Author: Andrey Gusev andrey.goosev@gmail.com Date: Thu Nov 2 19:34:48 2017 +0200
iphlpapi: Change variable type.
Signed-off-by: Andrey Gusev andrey.goosev@gmail.com Signed-off-by: Alexandre Julliard julliard@winehq.org
---
dlls/iphlpapi/ipstats.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/iphlpapi/ipstats.c b/dlls/iphlpapi/ipstats.c index 47df7eb..327a601 100644 --- a/dlls/iphlpapi/ipstats.c +++ b/dlls/iphlpapi/ipstats.c @@ -2051,11 +2051,11 @@ static unsigned int find_owning_pid( struct pid_map *map, unsigned int num_entri #elif defined(HAVE_PROC_PIDINFO) struct proc_fdinfo *fds; struct socket_fdinfo sock; - unsigned int i, j, n, fd_len; + unsigned int i, j, n;
for (i = 0; i < num_entries; i++) { - fd_len = proc_pidinfo( map[i].unix_pid, PROC_PIDLISTFDS, 0, NULL, 0 ); + int fd_len = proc_pidinfo( map[i].unix_pid, PROC_PIDLISTFDS, 0, NULL, 0 ); if (fd_len <= 0) continue;
fds = HeapAlloc( GetProcessHeap(), 0, fd_len );