Changeset 08995b0 for protocols/msn/msn.c
- Timestamp:
- 2006-01-04T12:09:35Z (18 years ago)
- Branches:
- master
- Children:
- 2d75b56, 5c577bd
- Parents:
- 7e563ed
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/msn/msn.c
r7e563ed r08995b0 170 170 171 171 for( i = 0; msn_away_state_list[i].number > -1; i ++ ) 172 l = g_list_append( l, msn_away_state_list[i].name );172 l = g_list_append( l, (void*) msn_away_state_list[i].name ); 173 173 174 174 return( l ); … … 177 177 static char *msn_get_status_string( struct gaim_connection *gc, int number ) 178 178 { 179 struct msn_away_state *st = msn_away_state_by_number( number );179 const struct msn_away_state *st = msn_away_state_by_number( number ); 180 180 181 181 if( st ) 182 return( st->name );182 return( (char*) st->name ); 183 183 else 184 184 return( "" ); … … 189 189 char buf[1024]; 190 190 struct msn_data *md = gc->proto_data; 191 struct msn_away_state *st;191 const struct msn_away_state *st; 192 192 193 193 if( strcmp( state, GAIM_AWAY_CUSTOM ) == 0 )
Note: See TracChangeset
for help on using the changeset viewer.