From: Christian H. <ch...@us...> - 2003-08-07 00:48:04
|
Update of /cvsroot/gaim/gaim/src In directory sc8-pr-cvs1:/tmp/cvs-serv24276 Modified Files: conversation.c Log Message: Removed now unnecessary casts from const char * to char *, since those API functions now take const char *. Index: conversation.c =================================================================== RCS file: /cvsroot/gaim/gaim/src/conversation.c,v retrieving revision 1.535 retrieving revision 1.536 diff -u -d -r1.535 -r1.536 --- conversation.c 7 Aug 2003 00:46:13 -0000 1.535 +++ conversation.c 7 Aug 2003 00:47:58 -0000 1.536 @@ -348,14 +348,12 @@ strncpy(bigbuf + offset, "</BINARY>", strlen("<BINARY>") + 1); - err = serv_send_im(gc, - (char *)gaim_conversation_get_name(conv), - bigbuf, length, imflags); + err = serv_send_im(gc, gaim_conversation_get_name(conv), + bigbuf, length, imflags); } else - err = serv_send_im(gc, - (char *)gaim_conversation_get_name(conv), - buffy, -1, imflags); + err = serv_send_im(gc, gaim_conversation_get_name(conv), + buffy, -1, imflags); if (err > 0) { GSList *tempy; @@ -382,7 +380,7 @@ g_free(bigbuf); } else { - err = serv_send_im(gc, (char *)gaim_conversation_get_name(conv), + err = serv_send_im(gc, gaim_conversation_get_name(conv), buffy, -1, imflags); if (err > 0) @@ -425,7 +423,6 @@ } } } - } static void @@ -960,10 +957,10 @@ if (gaim_conversation_get_type(conv) == GAIM_CONV_IM) { if (gaim_prefs_get_bool("/core/conversations/im/send_typing")) - serv_send_typing(gc, (char *)name, GAIM_NOT_TYPING); + serv_send_typing(gc, name, GAIM_NOT_TYPING); if (gc && prpl_info->convo_closed != NULL) - prpl_info->convo_closed(gc, (char *)name); + prpl_info->convo_closed(gc, name); } else if (gaim_conversation_get_type(conv) == GAIM_CONV_CHAT) { /* |