From 8466ee1c62f49fa93dedb401d77be8ae7bb8bdfd Mon Sep 17 00:00:00 2001 From: Wouter Wijngaards Date: Thu, 13 Apr 2017 13:03:38 +0000 Subject: [PATCH] please lint. git-svn-id: file:///svn/unbound/trunk@4120 be551aaa-1e26-0410-a405-d3ace91eadb9 --- util/timehist.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/util/timehist.c b/util/timehist.c index 45cc4e32c..61cc995fd 100644 --- a/util/timehist.c +++ b/util/timehist.c @@ -232,7 +232,7 @@ timehist_export(struct timehist* hist, long long* array, size_t sz) if(sz > hist->num) sz = hist->num; for(i=0; ibuckets[i].count; + array[i] = (long long)hist->buckets[i].count; } void @@ -243,5 +243,5 @@ timehist_import(struct timehist* hist, long long* array, size_t sz) if(sz > hist->num) sz = hist->num; for(i=0; ibuckets[i].count = array[i]; + hist->buckets[i].count = (size_t)array[i]; }