comparison src/protocols/oscar/oscar.c @ 13949:5439d91a0b88

[gaim-migrate @ 16492] Fix a casting warning on 64-bit machines committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Sun, 16 Jul 2006 16:46:31 +0000
parents cab785a7c766
children da767c69d8b7
comparison
equal deleted inserted replaced
13948:11434fa0ca22 13949:5439d91a0b88
1627 1627
1628 port = gaim_account_get_int(account, "port", OSCAR_DEFAULT_LOGIN_PORT); 1628 port = gaim_account_get_int(account, "port", OSCAR_DEFAULT_LOGIN_PORT);
1629 separator = strchr(redir->ip, ':'); 1629 separator = strchr(redir->ip, ':');
1630 if (separator != NULL) 1630 if (separator != NULL)
1631 { 1631 {
1632 host = g_strndup(redir->ip, (int)separator - (int)redir->ip); 1632 host = g_strndup(redir->ip, separator - redir->ip);
1633 port = atoi(separator + 1); 1633 port = atoi(separator + 1);
1634 } 1634 }
1635 else 1635 else
1636 host = g_strdup(redir->ip); 1636 host = g_strdup(redir->ip);
1637 1637