diff options
author | Jeremy Allison <jra@samba.org> | 2011-05-05 13:42:05 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2011-05-05 23:56:07 +0200 |
commit | e131c94ac1b06cc49b1c25717d3496dba8b0b3df (patch) | |
tree | b5aea6c90a1d73c3688591a54d3a92773c95a4e7 /source3/lib/gencache.c | |
parent | 38492b16fee29f31b324ec459069470e977a2359 (diff) | |
download | samba-e131c94ac1b06cc49b1c25717d3496dba8b0b3df.tar.gz |
More const fixes for compiler warnings from the waf build.
Diffstat (limited to 'source3/lib/gencache.c')
-rw-r--r-- | source3/lib/gencache.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/gencache.c b/source3/lib/gencache.c index 67c37f34e73..19cc7c947c3 100644 --- a/source3/lib/gencache.c +++ b/source3/lib/gencache.c @@ -125,7 +125,7 @@ again: static TDB_DATA last_stabilize_key(void) { TDB_DATA result; - result.dptr = (uint8_t *)"@LAST_STABILIZED"; + result.dptr = discard_const_p(uint8_t, "@LAST_STABILIZED"); result.dsize = 17; return result; } |