mirror of
https://github.com/NLnetLabs/unbound.git
synced 2026-08-17 21:25:50 +02:00
please lint.
git-svn-id: file:///svn/unbound/trunk@4120 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
+2
-2
@@ -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; i<sz; i++)
|
||||
array[i] = hist->buckets[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; i<sz; i++)
|
||||
hist->buckets[i].count = array[i];
|
||||
hist->buckets[i].count = (size_t)array[i];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user