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 7d9ea5c..1543217 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);