On Sat, Mar 16, 2013 at 2:46 PM, Victor Julien <notifications@github.com>wrote:

> In src/util-mpm-ac.c:
>
> > @@ -568,6 +568,26 @@ static inline void SCACCreateGotoTable(MpmCtx *mpm_ctx)
> >      return;
> >  }
> >
> > +static inline void SCACDetermineLevel1Gap(MpmCtx *mpm_ctx)
> > +{
> > +    SCACCtx *ctx = (SCACCtx *)mpm_ctx->ctx;
> > +
> > +    int map[256];
> > +    memset(map, 0, sizeof(map));
> > +
> > +    for (uint32_t i = 0; i < mpm_ctx->pattern_cnt; i++)
>
> and i should be an int, not unsigned int :) I always use u for unsigned.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/inliniac/suricata/pull/320/files#r3402870>
> .
>

Sound right.  Will change it.

-- 
Anoop Saldanha