]> sourceware.org Git - lvm2.git/commitdiff
libdm: use size_t for buflen in _stats_group_file_regions()
authorBryn M. Reeves <bmr@redhat.com>
Wed, 29 Mar 2017 19:46:21 +0000 (20:46 +0100)
committerBryn M. Reeves <bmr@redhat.com>
Thu, 30 Mar 2017 09:02:45 +0000 (10:02 +0100)
libdm/libdm-stats.c

index 2e6022d2d4b226a950c3a25798390b06babc6d00..2a6c343a2aaadbfbac42e0dd240872b69e9ae217 100644 (file)
@@ -4219,7 +4219,7 @@ static int _stats_group_file_regions(struct dm_stats *dms, uint64_t *region_ids,
        dm_bitset_t regions = dm_bitset_create(NULL, dms->nr_regions);
        uint64_t i, group_id = DM_STATS_GROUP_NOT_PRESENT;
        char *members = NULL;
-       int buflen;
+       size_t buflen;
 
        if (!regions) {
                log_error("Cannot map file: failed to allocate group bitmap.");
This page took 0.037192 seconds and 5 git commands to generate.