]> git.sur5r.net Git - openldap/commitdiff
Silence warning in prev commit
authorHoward Chu <hyc@symas.com>
Thu, 11 Oct 2012 23:47:56 +0000 (16:47 -0700)
committerHoward Chu <hyc@symas.com>
Thu, 11 Oct 2012 23:47:56 +0000 (16:47 -0700)
libraries/libmdb/mdb.c

index 7d9ea5cd4a4edad68bf592742ec26d0d28e72b6b..15432178c2150678ef28b9d66a6126684ba35d0e 100644 (file)
@@ -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);