From d12ba022c8082de2d804010992c6ee1076b9f571 Mon Sep 17 00:00:00 2001 From: Zdenek Kabelac Date: Fri, 22 Apr 2016 14:05:03 +0200 Subject: [PATCH] coverity: keep expression using 64bit Use 64bit input to remain with whole evaluation in 64bit. --- daemons/lvmlockd/lvmlockd-sanlock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daemons/lvmlockd/lvmlockd-sanlock.c b/daemons/lvmlockd/lvmlockd-sanlock.c index c6534d8c4..b47c7f045 100644 --- a/daemons/lvmlockd/lvmlockd-sanlock.c +++ b/daemons/lvmlockd/lvmlockd-sanlock.c @@ -206,7 +206,7 @@ int lm_data_size_sanlock(void) #define VG_LOCK_BEGIN UINT64_C(66) #define LV_LOCK_BEGIN UINT64_C(67) -static unsigned int daemon_test_lv_count; +static uint64_t daemon_test_lv_count; static int lock_lv_name_from_args(char *vg_args, char *lock_lv_name) { -- 2.43.5