mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-16 06:48:25 +00:00
Cast a few more strings to char *, so that we can compile cleanly against
FreeTDS 0.60. Update the docs to reflect that we can now compile and run against all modern releases of FreeTDS (0.60 through 0.82) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@126513 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -299,10 +299,10 @@ static int mssql_connect(void)
|
||||
}
|
||||
|
||||
DBSETLAPP(login, "TSQL");
|
||||
DBSETLUSER(login, settings->username);
|
||||
DBSETLPWD(login, settings->password);
|
||||
DBSETLCHARSET(login, settings->charset);
|
||||
DBSETLNATLANG(login, settings->language);
|
||||
DBSETLUSER(login, (char *) settings->username);
|
||||
DBSETLPWD(login, (char *) settings->password);
|
||||
DBSETLCHARSET(login, (char *) settings->charset);
|
||||
DBSETLNATLANG(login, (char *) settings->language);
|
||||
|
||||
if ((settings->dbproc = dbopen(login, (char *) settings->hostname)) == NULL) {
|
||||
ast_log(LOG_ERROR, "Unable to connect to %s\n", settings->hostname);
|
||||
|
||||
Reference in New Issue
Block a user