diff --git a/src/detect.h b/src/detect.h index 559363b23c..df37f22434 100644 --- a/src/detect.h +++ b/src/detect.h @@ -800,7 +800,7 @@ typedef struct DetectionEngineThreadCtx_ { /** ID of the transaction currently being inspected. */ uint64_t tx_id; - SC_ATOMIC_DECLARE(uint16_t, so_far_used_by_detect); + SC_ATOMIC_DECLARE(int, so_far_used_by_detect); /* holds the current recursion depth on content inspection */ int inspection_recursion_counter;