From d70d9d4d19f0deae2a2aceb047872611d5047ae0 Mon Sep 17 00:00:00 2001 From: Emistry Date: Sat, 10 Oct 2015 00:01:26 +0800 Subject: Fixed issue #783 signed/unsigned mismatch. --- src/common/HPM.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/common/HPM.c') 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; -- cgit v1.2.3-70-g09d2