mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-30 22:15:20 +00:00
Merged VS 2015 64 bit warnings (#40373)
This commit is contained in:
@@ -661,7 +661,7 @@ cfg_parse_percentage(cfg_parser_t *pctx, const cfg_type_t *type,
|
||||
char *endp;
|
||||
isc_result_t result;
|
||||
cfg_obj_t *obj = NULL;
|
||||
isc_uint32_t percent;
|
||||
isc_uint64_t percent;
|
||||
|
||||
UNUSED(type);
|
||||
|
||||
@@ -680,7 +680,7 @@ cfg_parse_percentage(cfg_parser_t *pctx, const cfg_type_t *type,
|
||||
}
|
||||
|
||||
CHECK(cfg_create_obj(pctx, &cfg_type_percentage, &obj));
|
||||
obj->value.uint32 = percent;
|
||||
obj->value.uint32 = (isc_uint32_t)percent;
|
||||
*ret = obj;
|
||||
|
||||
cleanup:
|
||||
|
Reference in New Issue
Block a user