summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZdenek Kabelac <zkabelac@redhat.com>2016-04-22 14:05:03 +0200
committerZdenek Kabelac <zkabelac@redhat.com>2016-04-22 14:15:36 +0200
commitd12ba022c8082de2d804010992c6ee1076b9f571 (patch)
tree1fdf67d568af0605a62bdf3a3ba83906aa49d413
parentd564d9f39c73bdbb32413256586991993ad869ef (diff)
downloadlvm2-d12ba022c8082de2d804010992c6ee1076b9f571.tar.gz
coverity: keep expression using 64bit
Use 64bit input to remain with whole evaluation in 64bit.
-rw-r--r--daemons/lvmlockd/lvmlockd-sanlock.c2
1 files changed, 1 insertions, 1 deletions
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)
{