diff options
author | Michael Adam <obnox@samba.org> | 2010-05-24 22:19:17 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2010-05-25 10:35:25 +0200 |
commit | 9ccf66379a946cef87d915c5f0f7758adb11a4d6 (patch) | |
tree | 3567c2325ce5526fa81c863c94efd54b22327cac /source3/utils/profiles.c | |
parent | 70a81796fca29d3e924ab6a9396b1a4ab344a730 (diff) | |
download | samba-9ccf66379a946cef87d915c5f0f7758adb11a4d6.tar.gz samba-9ccf66379a946cef87d915c5f0f7758adb11a4d6.tar.xz samba-9ccf66379a946cef87d915c5f0f7758adb11a4d6.zip |
s3:registry: adapt callers of regval_ctr_addvalue to uint8 * instead of char *
Diffstat (limited to 'source3/utils/profiles.c')
-rw-r--r-- | source3/utils/profiles.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/utils/profiles.c b/source3/utils/profiles.c index e4ed8f50ec..5e2cd9a392 100644 --- a/source3/utils/profiles.c +++ b/source3/utils/profiles.c @@ -150,7 +150,7 @@ static bool copy_registry_tree( REGF_FILE *infile, REGF_NK_REC *nk, for ( i=0; i<nk->num_values; i++ ) { regval_ctr_addvalue( values, nk->values[i].valuename, nk->values[i].type, - (const char *)nk->values[i].data, (nk->values[i].data_size & ~VK_DATA_IN_OFFSET) ); + nk->values[i].data, (nk->values[i].data_size & ~VK_DATA_IN_OFFSET) ); } /* copy subkeys into the struct regsubkey_ctr */ |