diff options
author | George Hazan <george.hazan@gmail.com> | 2015-04-10 21:41:21 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-04-10 21:41:21 +0000 |
commit | 2ca49d1d8f694b763fde90fad9a3c9898132f8e9 (patch) | |
tree | 6a97c8fb8a9a1a11049c880293dd3147cd93f81c /src/modules/netlib/netlibupnp.cpp | |
parent | 771ccdb89c2ec0733cf16104709ad8670fc34c55 (diff) |
more fixes
git-svn-id: http://svn.miranda-ng.org/main/trunk@12760 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/modules/netlib/netlibupnp.cpp')
-rw-r--r-- | src/modules/netlib/netlibupnp.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/netlib/netlibupnp.cpp b/src/modules/netlib/netlibupnp.cpp index 3ab139cf30..4e6813b8c9 100644 --- a/src/modules/netlib/netlibupnp.cpp +++ b/src/modules/netlib/netlibupnp.cpp @@ -772,7 +772,7 @@ void NetlibUPnPCleanup(void*) num = atol(buf);
WORD ports[30];
- for (int i = 0; i < num && !Miranda_Terminated(); i++) {
+ for (unsigned i = 0; i < num && !Miranda_Terminated(); i++) {
mir_snprintf(szData, 4096, get_port_mapping, i);
ReleaseMutex(portListMutex);
@@ -804,7 +804,7 @@ void NetlibUPnPCleanup(void*) ReleaseMutex(portListMutex);
- for (int i = 0; i < j && !Miranda_Terminated(); i++)
+ for (unsigned i = 0; i < j && !Miranda_Terminated(); i++)
NetlibUPnPDeletePortMapping(ports[i], "TCP");
}
}
|