From: <the...@us...> - 2006-07-16 16:46:43
|
Revision: 16492 Author: thekingant Date: 2006-07-16 09:46:31 -0700 (Sun, 16 Jul 2006) ViewCVS: http://svn.sourceforge.net/gaim/?rev=16492&view=rev Log Message: ----------- Fix a casting warning on 64-bit machines Modified Paths: -------------- trunk/src/protocols/oscar/oscar.c Modified: trunk/src/protocols/oscar/oscar.c =================================================================== --- trunk/src/protocols/oscar/oscar.c 2006-07-13 19:43:37 UTC (rev 16491) +++ trunk/src/protocols/oscar/oscar.c 2006-07-16 16:46:31 UTC (rev 16492) @@ -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 This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |