From: Shivani Bhardwaj Date: Tue, 16 Jan 2024 08:41:34 +0000 (+0530) Subject: detect: make SigMatch.is_last bool X-Git-Tag: suricata-8.0.0-beta1~1829 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F10187%2Fhead;p=thirdparty%2Fsuricata.git detect: make SigMatch.is_last bool It is used like bool so much so that nothing needs to be changed even after changing its type. --- diff --git a/src/detect.h b/src/detect.h index 9b7b58794e..0fc5d21fb1 100644 --- a/src/detect.h +++ b/src/detect.h @@ -354,7 +354,7 @@ typedef struct SigMatch_ { /** \brief Data needed for Match() */ typedef struct SigMatchData_ { uint16_t type; /**< match type */ - uint8_t is_last; /**< Last element of the list */ + bool is_last; /**< Last element of the list */ SigMatchCtx *ctx; /**< plugin specific data */ } SigMatchData;