diff options
author | Luigi Rizzo <rizzo@icir.org> | 2007-12-18 09:46:18 +0000 |
---|---|---|
committer | Luigi Rizzo <rizzo@icir.org> | 2007-12-18 09:46:18 +0000 |
commit | fd88390af7bcd02958b434d0b6fdb494e721c06c (patch) | |
tree | d2fc0e3293737a646ab91cc4ef176382ed433047 /main/db.c | |
parent | 3ff440bd37445c9261b64fcb08f0d20c976b34e2 (diff) |
remove unnecessary (char *) casts for ast_config_AST_* variables.
There are some left in the .flex files, left to the maintainer...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@93582 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'main/db.c')
-rw-r--r-- | main/db.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -53,7 +53,7 @@ AST_MUTEX_DEFINE_STATIC(dblock); static int dbinit(void) { - if (!astdb && !(astdb = dbopen((char *)ast_config_AST_DB, O_CREAT | O_RDWR, AST_FILE_MODE, DB_BTREE, NULL))) { + if (!astdb && !(astdb = dbopen(ast_config_AST_DB, O_CREAT | O_RDWR, AST_FILE_MODE, DB_BTREE, NULL))) { ast_log(LOG_WARNING, "Unable to open Asterisk database '%s': %s\n", ast_config_AST_DB, strerror(errno)); return -1; } |