diff options
author | Stefan Metzmacher <metze@samba.org> | 2006-10-06 15:17:02 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:15:16 -0500 |
commit | a6e45f0da5b7a187f652fb80d172007d36a5e855 (patch) | |
tree | 5391c2f8d142124e5cc2b919e5f30b699edd21ba /source3/lib/ldb/common/ldb_parse.c | |
parent | 3652a2360fcbd254f6b15c54176505c0c59a97e7 (diff) | |
download | samba-a6e45f0da5b7a187f652fb80d172007d36a5e855.tar.gz samba-a6e45f0da5b7a187f652fb80d172007d36a5e855.tar.bz2 samba-a6e45f0da5b7a187f652fb80d172007d36a5e855.zip |
r19137: that looks nicer:-)
metze
(This used to be commit db40552d9471f4a8ce2c5c724319a4eb242ed24a)
Diffstat (limited to 'source3/lib/ldb/common/ldb_parse.c')
-rw-r--r-- | source3/lib/ldb/common/ldb_parse.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/ldb/common/ldb_parse.c b/source3/lib/ldb/common/ldb_parse.c index ec6ba420b4..26f88769e6 100644 --- a/source3/lib/ldb/common/ldb_parse.c +++ b/source3/lib/ldb/common/ldb_parse.c @@ -134,7 +134,7 @@ char *ldb_binary_encode(void *mem_ctx, struct ldb_val val) char *ldb_binary_encode_string(void *mem_ctx, const char *string) { struct ldb_val val; - val.data = (uint8_t *)discard_const(string); + val.data = discard_const_p(uint8_t, string); val.length = strlen(string); return ldb_binary_encode(mem_ctx, val); } |