projects
/
platform
/
upstream
/
lmdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ebb6859
)
Silence warning in prev commit
author
Howard Chu
<hyc@symas.com>
Thu, 11 Oct 2012 23:47:56 +0000
(16:47 -0700)
committer
Howard Chu
<hyc@symas.com>
Thu, 11 Oct 2012 23:47:56 +0000
(16:47 -0700)
libraries/libmdb/mdb.c
patch
|
blob
|
history
diff --git
a/libraries/libmdb/mdb.c
b/libraries/libmdb/mdb.c
index
7d9ea5c
..
1543217
100644
(file)
--- 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);