summaryrefslogtreecommitdiff
path: root/main/db.c
diff options
context:
space:
mode:
authorLuigi Rizzo <rizzo@icir.org>2007-12-18 09:46:18 +0000
committerLuigi Rizzo <rizzo@icir.org>2007-12-18 09:46:18 +0000
commitfd88390af7bcd02958b434d0b6fdb494e721c06c (patch)
treed2fc0e3293737a646ab91cc4ef176382ed433047 /main/db.c
parent3ff440bd37445c9261b64fcb08f0d20c976b34e2 (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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/db.c b/main/db.c
index 36ba9ae83..39d898d13 100644
--- a/main/db.c
+++ b/main/db.c
@@ -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;
}