From f5b7197625ed235fa454ff0f4a2ba930f55e174e Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Sun, 15 Apr 2007 21:13:48 +0000 Subject: r22227: merge from samba4: move discard_const macros to librelace metze (This used to be commit 8f4a39127f7b560a7a609e74423ccb88f53e545e) --- source3/lib/replace/strptime.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/lib/replace/strptime.c') 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); } -- cgit