diff options
Diffstat (limited to 'source4/lib')
-rw-r--r-- | source4/lib/registry/util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/registry/util.c b/source4/lib/registry/util.c index d1e953951f..01668f826f 100644 --- a/source4/lib/registry/util.c +++ b/source4/lib/registry/util.c @@ -177,7 +177,7 @@ _PUBLIC_ bool reg_string_to_val(TALLOC_CTX *mem_ctx, const char *type_str, } break; case REG_QWORD: { - uint64_t tmp = strtoll(data_str, NULL, 0); + uint64_t tmp = strtoll(data_str, NULL, 16); *data = data_blob_talloc(mem_ctx, NULL, sizeof(uint64_t)); if (data->data == NULL) return false; SBVAL(data->data, 0, tmp); |