mirror of
https://github.com/NLnetLabs/unbound.git
synced 2025-12-20 23:00:56 -05:00
please lint.
git-svn-id: file:///svn/unbound/trunk@4120 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
parent
d4e0116ba8
commit
8466ee1c62
1 changed files with 2 additions and 2 deletions
|
|
@ -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];
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue