aboutsummaryrefslogtreecommitdiffstats
path: root/storage_xml.c
diff options
context:
space:
mode:
Diffstat (limited to 'storage_xml.c')
-rw-r--r--storage_xml.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/storage_xml.c b/storage_xml.c
index 10cb6495..1f2d4a51 100644
--- a/storage_xml.c
+++ b/storage_xml.c
@@ -181,7 +181,7 @@ static storage_status_t xml_load_real( irc_t *irc, const char *my_nick, const ch
strncpy( xd->given_nick, my_nick, MAX_NICK_LENGTH );
xd->given_nick[MAX_NICK_LENGTH] = '\0';
nick_lc( xd->given_nick );
- xd->given_pass = password;
+ xd->given_pass = (char*) password;
fn = g_strconcat( global.conf->configdir, xd->given_nick, ".xml", NULL );
if( ( fd = open( fn, O_RDONLY ) ) < 0 )