diff --git a/src/detect-app-layer-event.c b/src/detect-app-layer-event.c index 415c5db02e..a2d4da40c7 100644 --- a/src/detect-app-layer-event.c +++ b/src/detect-app-layer-event.c @@ -100,7 +100,7 @@ static DetectAppLayerEventData *DetectAppLayerEventParse(const char *arg) return NULL; } - while (*arg != '\0' && isspace(*arg)) { + while (*arg != '\0' && isspace((unsigned char)*arg)) { arg++; }