Commit 6fbfadb4 authored by Leif Walsh's avatar Leif Walsh

compile fixes #211

parent 1b92856c
......@@ -463,7 +463,7 @@ static void print_db_env_struct (void) {
"int (*iterate_pending_lock_requests) (DB_ENV *env, iterate_requests_callback callback, void *extra)",
"void (*set_loader_memory_size)(DB_ENV *env, uint64_t (*get_loader_memory_size_callback)(void))",
"uint64_t (*get_loader_memory_size)(DB_ENV *env)",
"void (*env_do_backtrace) (DB_ENV *env)",
"void (*do_backtrace) (DB_ENV *env)",
NULL};
sort_and_dump_fields("db_env", true, extra);
......
......@@ -2454,7 +2454,7 @@ static uint64_t env_get_loader_memory_size(DB_ENV *env) {
static void env_do_backtrace(DB_ENV *env) {
if (env->i->errfile) {
db_env_do_backtrace(env->i->errfile);
db_env_do_backtrace((FILE *) env->i->errfile);
} else {
db_env_do_backtrace(stderr);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment