From fbe530fae1752b6a1be49b83aad7d7a9787ec81c Mon Sep 17 00:00:00 2001 From: Krzysztof Majzerowicz-Jaszcz Date: Wed, 31 Aug 2022 15:35:45 +0200 Subject: [PATCH] Fix for Coverity CID 356469 Fix for CID 356469 - truncated time_t value. Signed-off-by: Krzysztof Majzerowicz-Jaszcz --- casadm/cas_lib_utils.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/casadm/cas_lib_utils.h b/casadm/cas_lib_utils.h index d9108d2..1b403fb 100644 --- a/casadm/cas_lib_utils.h +++ b/casadm/cas_lib_utils.h @@ -1,5 +1,5 @@ /* -* Copyright(c) 2012-2021 Intel Corporation +* Copyright(c) 2012-2022 Intel Corporation * SPDX-License-Identifier: BSD-3-Clause */ @@ -16,7 +16,7 @@ struct progress_status { int progress_accumulated; /*!< this is to ensure that progressbar is always *!< from 0 to 100% and progress indicated by it *!< never actually drops. */ - int time_started; /*!< time when particular long running + time_t time_started; /*!< time when particular long running *!< operation was started */ char *friendly_name; /*!< name of management operation that shall *!< be displayed in command prompt */