From 79d7edb3e02ab4f54d1fcd6473e4027c1f7bef75 Mon Sep 17 00:00:00 2001 From: Philippe Antoine Date: Fri, 3 Jun 2022 09:20:40 +0200 Subject: [PATCH] ftp: fix integer warning Ticket: #4516 --- src/app-layer-ftp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app-layer-ftp.c b/src/app-layer-ftp.c index 92f9bfef41..9d86cf288a 100644 --- a/src/app-layer-ftp.c +++ b/src/app-layer-ftp.c @@ -625,7 +625,7 @@ static AppLayerResult FTPParseRequest(Flow *f, void *ftp_state, AppLayerParserSt FtpInput ftpi = { .input = input, .input_len = input_len }; - int direction = STREAM_TOSERVER; + uint8_t direction = STREAM_TOSERVER; while (FTPGetLine(state, STREAM_TOSERVER, &ftpi) >= 0) { const FtpCommand *cmd_descriptor;