summaryrefslogtreecommitdiff
path: root/src/common/HPM.c
diff options
context:
space:
mode:
authorEmistry <Equinox1991@gmail.com>2015-10-10 00:01:26 +0800
committerEmistry <Equinox1991@gmail.com>2015-10-10 00:01:26 +0800
commitd70d9d4d19f0deae2a2aceb047872611d5047ae0 (patch)
tree4528125a5ca1a010d3c009c8401ddfe08d88e501 /src/common/HPM.c
parent334131d1e84a70da420abd429c143876117b6c95 (diff)
downloadhercules-d70d9d4d19f0deae2a2aceb047872611d5047ae0.tar.gz
hercules-d70d9d4d19f0deae2a2aceb047872611d5047ae0.tar.bz2
hercules-d70d9d4d19f0deae2a2aceb047872611d5047ae0.tar.xz
hercules-d70d9d4d19f0deae2a2aceb047872611d5047ae0.zip
Fixed issue #783
signed/unsigned mismatch.
Diffstat (limited to 'src/common/HPM.c')
-rw-r--r--src/common/HPM.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/HPM.c b/src/common/HPM.c
index 23265fa24..0316f9494 100644
--- a/src/common/HPM.c
+++ b/src/common/HPM.c
@@ -486,7 +486,7 @@ void hplugin_unload(struct hplugin* plugin)
/* TODO: for manual packet unload */
/* - Go through known packets and unlink any belonging to the plugin being removed */
if (!HPM->off) {
- int i, cursor;
+ unsigned int i, cursor;
for (cursor = 0; cursor < HPM->plugin_count; cursor++) {
if (HPM->plugins[cursor]->idx != plugin->idx)
continue;