diff --git a/Database/APR/StorageSvc/StorageSvc/pool.h b/Database/APR/StorageSvc/StorageSvc/pool.h
index fadfe14b8769e3fa27888b1fb3ffc1746c35ec9b..0ed7082576fd12df9e6bf30ff8918dc2ab5aa6a5 100644
--- a/Database/APR/StorageSvc/StorageSvc/pool.h
+++ b/Database/APR/StorageSvc/StorageSvc/pool.h
@@ -1,5 +1,5 @@
 /*
-  Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
+  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
 */
 
 //====================================================================
@@ -76,7 +76,7 @@ namespace pool   {
   static const DbStatus Success      (DbStatus::Success);
   static const DbStatus Warning      (DbStatus::Warning);
   static const DbStatus Error        (DbStatus::Error);
-  static const DbStatus ConnTimeout  (DbStatus::Error+2);
+  static const DbStatus ConnTimeout  (static_cast<unsigned int>(DbStatus::Error)+2);
 
   /// Issue a debug break
   void      debugBreak();