summaryrefslogtreecommitdiff
path: root/source3/lib/replace/strptime.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2007-04-15 21:13:48 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:19:21 -0500
commitf5b7197625ed235fa454ff0f4a2ba930f55e174e (patch)
treebf375ad4de2af819f4dcf4b007c2c88af448f326 /source3/lib/replace/strptime.c
parent0ca5717a9a90ced983a60d1e7b27882fbbaf388b (diff)
downloadsamba-f5b7197625ed235fa454ff0f4a2ba930f55e174e.tar.gz
samba-f5b7197625ed235fa454ff0f4a2ba930f55e174e.tar.bz2
samba-f5b7197625ed235fa454ff0f4a2ba930f55e174e.zip
r22227: merge from samba4:
move discard_const macros to librelace metze (This used to be commit 8f4a39127f7b560a7a609e74423ccb88f53e545e)
Diffstat (limited to 'source3/lib/replace/strptime.c')
-rw-r--r--source3/lib/replace/strptime.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/replace/strptime.c b/source3/lib/replace/strptime.c
index 8fb919472e..d415b7826e 100644
--- a/source3/lib/replace/strptime.c
+++ b/source3/lib/replace/strptime.c
@@ -974,7 +974,7 @@ strptime_internal (rp, fmt, tm, decided, era_cnt)
if (want_xday && !have_yday)
day_of_the_year (tm);
- return (char *) rp;
+ return discard_const_p(char, rp);
}