diff options
author | Matthias Dieter Wallnöfer <mdw@samba.org> | 2010-10-14 10:50:19 +0200 |
---|---|---|
committer | Matthias Dieter Wallnöfer <mdw@samba.org> | 2010-10-15 08:45:15 +0200 |
commit | 7be36a0bd99ce7f6391ea49b66ca809380189c36 (patch) | |
tree | e9c23500b3b557cf298c6ed6fc2a6c642f3bba92 /source4/lib | |
parent | 80550746ffbb09658ce19520e853e218d793635e (diff) | |
download | samba-7be36a0bd99ce7f6391ea49b66ca809380189c36.tar.gz samba-7be36a0bd99ce7f6391ea49b66ca809380189c36.tar.bz2 samba-7be36a0bd99ce7f6391ea49b66ca809380189c36.zip |
s4:lib/registry/util.c - strtoll call - better say explicitly that data is in hex format
Template is commit deebc934edb9a0a70e7615b1161d7a60fcb1d78f from Wilco.
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); |