diff options
Diffstat (limited to 'source3/services')
-rw-r--r-- | source3/services/services_db.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/services/services_db.c b/source3/services/services_db.c index 9cd9ba8d83..477bf4e269 100644 --- a/source3/services/services_db.c +++ b/source3/services/services_db.c @@ -493,7 +493,7 @@ SEC_DESC* svcctl_get_secdesc( TALLOC_CTX *ctx, const char *name, NT_USER_TOKEN * /* stream the printer security descriptor */ prs_init( &ps, 0, key, UNMARSHALL); - prs_give_memory( &ps, regval_data_p(val), regval_size(val), False ); + prs_give_memory( &ps, (char *)regval_data_p(val), regval_size(val), False ); if ( !sec_io_desc("sec_desc", &sd, &ps, 0 ) ) { regkey_close_internal( key ); |