Changeset 56f260a for protocols/nogaim.c


Ignore:
Timestamp:
2007-11-22T22:56:52Z (14 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
  • protocols/nogaim.c

    rd75597b r56f260a  
    699699       
    700700        if( set_getbool( &ic->irc->set, "debug" ) )
    701                 imcb_log( ic, "You were removed from conversation 0x%x", (int) c );
     701                imcb_log( ic, "You were removed from conversation %p", c );
    702702       
    703703        if( c )
     
    755755        else
    756756        {
    757                 imcb_log( ic, "Message from/to conversation %s@0x%x (unknown conv/user): %s", who, (int) c, wrapped );
     757                imcb_log( ic, "Message from/to conversation %s@%p (unknown conv/user): %s", who, c, wrapped );
    758758        }
    759759        g_free( wrapped );
     
    803803       
    804804        if( set_getbool( &ic->irc->set, "debug" ) )
    805                 imcb_log( ic, "Creating new conversation: (id=0x%x,handle=%s)", (int) c, handle );
     805                imcb_log( ic, "Creating new conversation: (id=%p,handle=%s)", c, handle );
    806806       
    807807        return c;
     
    817817       
    818818        if( set_getbool( &b->ic->irc->set, "debug" ) )
    819                 imcb_log( b->ic, "User %s added to conversation 0x%x", handle, (int) b );
     819                imcb_log( b->ic, "User %s added to conversation %p", handle, b );
    820820       
    821821        /* It might be yourself! */
     
    852852       
    853853        if( set_getbool( &b->ic->irc->set, "debug" ) )
    854                 imcb_log( b->ic, "User %s removed from conversation 0x%x (%s)", handle, (int) b, reason ? reason : "" );
     854                imcb_log( b->ic, "User %s removed from conversation %p (%s)", handle, b, reason ? reason : "" );
    855855       
    856856        /* It might be yourself! */
Note: See TracChangeset for help on using the changeset viewer.