Changeset 56f260a for storage_xml.c


Ignore:
Timestamp:
2007-11-22T22:56:52Z (16 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
df6d1da
Parents:
d75597b
Message:

Some changes to get rid of compiler warnings. (And disabling strict
aliasing because there are too many warnings about it. :-P)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • storage_xml.c

    rd75597b r56f260a  
    456456                   return TRUE on write errors. Which means, if we found
    457457                   something, there was an error. :-) */
    458                 if( g_hash_table_find( acc->nicks, xml_save_nick, (gpointer) fd ) )
     458                if( g_hash_table_find( acc->nicks, xml_save_nick, & fd ) )
    459459                        goto write_error;
    460460               
     
    494494static gboolean xml_save_nick( gpointer key, gpointer value, gpointer data )
    495495{
    496         return !xml_printf( (int) data, 2, "<buddy handle=\"%s\" nick=\"%s\" />\n", key, value );
     496        return !xml_printf( *( (int*) data ), 2, "<buddy handle=\"%s\" nick=\"%s\" />\n", key, value );
    497497}
    498498
Note: See TracChangeset for help on using the changeset viewer.