From: Howard Chu Date: Thu, 11 Oct 2012 23:47:56 +0000 (-0700) Subject: Silence warning in prev commit X-Git-Tag: OPENLDAP_REL_ENG_2_4_34~139^2~18 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=f037dd2d19978256182a0f91f9a8178d37a8193f;p=openldap Silence warning in prev commit --- diff --git a/libraries/libmdb/mdb.c b/libraries/libmdb/mdb.c index 7d9ea5cd4a..15432178c2 100644 --- a/libraries/libmdb/mdb.c +++ b/libraries/libmdb/mdb.c @@ -3291,7 +3291,7 @@ mdb_env_copy(MDB_env *env, const char *path) HANDLE newfd = INVALID_HANDLE_VALUE; if (env->me_flags & MDB_NOSUBDIR) { - lpath = path; + lpath = (char *)path; } else { len = strlen(path); len += sizeof(DATANAME);