From 83afb0c213a490a2cebcbad5f7301e780973e1d5 Mon Sep 17 00:00:00 2001
From: Marco Clemencic <marco.clemencic@cern.ch>
Date: Fri, 4 Jun 2021 18:07:10 +0200
Subject: [PATCH] Fix warning

---
 DAQ/DAQUtils/src/OdinTypesFilter.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/DAQ/DAQUtils/src/OdinTypesFilter.cpp b/DAQ/DAQUtils/src/OdinTypesFilter.cpp
index 5d243fa6e6f..51d2c5f3cd0 100644
--- a/DAQ/DAQUtils/src/OdinTypesFilter.cpp
+++ b/DAQ/DAQUtils/src/OdinTypesFilter.cpp
@@ -54,9 +54,9 @@ namespace {
 
   template <typename Type, int Max>
   struct odin_type_t {
-    int type;
+    unsigned int type;
 
-    static constexpr odin_type_t All() { return {-1}; }
+    static constexpr odin_type_t All() { return {-1u}; }
 
     friend constexpr bool operator==( const odin_type_t<Type, Max>& lhs, const odin_type_t<Type, Max>& rhs ) {
       return lhs.type == rhs.type;
-- 
GitLab