Mercurial > pidgin
changeset 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 | 11434fa0ca22 |
children | da767c69d8b7 |
files | src/protocols/oscar/oscar.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/protocols/oscar/oscar.c Wed Jul 12 23:52:56 2006 +0000 +++ b/src/protocols/oscar/oscar.c Sun Jul 16 16:46:31 2006 +0000 @@ -1629,7 +1629,7 @@ separator = strchr(redir->ip, ':'); if (separator != NULL) { - host = g_strndup(redir->ip, (int)separator - (int)redir->ip); + host = g_strndup(redir->ip, separator - redir->ip); port = atoi(separator + 1); } else