2
0
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:
Francis Dupont
2015-11-16 17:47:10 +01:00
parent 0d44dd6131
commit dd784c18ef
15 changed files with 70 additions and 35 deletions

View File

@@ -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: