diff options
author | Stefan Metzmacher <metze@samba.org> | 2006-09-27 06:48:24 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:20:23 -0500 |
commit | ee97148354090aa63b99abc02fe2811bf18a549e (patch) | |
tree | 6b1abc667f68d62500e7296a745eb906f5b43a47 /source4/lib/talloc | |
parent | ce02a7e9dc974b49444f716060df21a1412f0aaf (diff) | |
download | samba-ee97148354090aa63b99abc02fe2811bf18a549e.tar.gz samba-ee97148354090aa63b99abc02fe2811bf18a549e.tar.bz2 samba-ee97148354090aa63b99abc02fe2811bf18a549e.zip |
r18946: fix compiler warning
metze
(This used to be commit 450595822441ebaa199d6b10d568274940b1a91b)
Diffstat (limited to 'source4/lib/talloc')
-rw-r--r-- | source4/lib/talloc/talloc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/talloc/talloc.c b/source4/lib/talloc/talloc.c index d790c6c26b..58028a85b8 100644 --- a/source4/lib/talloc/talloc.c +++ b/source4/lib/talloc/talloc.c @@ -743,7 +743,7 @@ void *_talloc_steal(const void *new_ctx, const void *ptr) */ void *_talloc_move(const void *new_ctx, const void *_pptr) { - const void **pptr = (const void **)_pptr; + const void **pptr = discard_const_p(const void *,_pptr); void *ret = _talloc_steal(new_ctx, *pptr); (*pptr) = NULL; return ret; |