Changeset cc8cf75 for lib


Ignore:
Timestamp:
2015-05-05T15:05:20Z (10 years ago)
Author:
dequis <dx@…>
Branches:
master
Children:
2d93f113
Parents:
31169ee
git-author:
dequis <dx@…> (21-03-15 08:27:04)
git-committer:
dequis <dx@…> (05-05-15 15:05:20)
Message:

events_glib: fix parameter type warnings in event_debug() calls

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/events_glib.c

    r31169ee rcc8cf75  
    8282        }
    8383
    84         event_debug("gaim_io_invoke( %d, %d, 0x%x )\n", g_io_channel_unix_get_fd(source), condition, data);
     84        event_debug("gaim_io_invoke( %d, %d, %p )\n", g_io_channel_unix_get_fd(source), condition, data);
    8585
    8686        st = closure->function(closure->data, g_io_channel_unix_get_fd(source), gaim_cond);
     
    101101static void gaim_io_destroy(gpointer data)
    102102{
    103         event_debug("gaim_io_destroy( 0x%x )\n", data);
     103        event_debug("gaim_io_destroy( 0%p )\n", data);
    104104        g_free(data);
    105105}
     
    127127                                 gaim_io_invoke, closure, gaim_io_destroy);
    128128
    129         event_debug("b_input_add( %d, %d, 0x%x, 0x%x ) = %d (%p)\n", source, condition, function, data, st, closure);
     129        event_debug("b_input_add( %d, %d, %p, %p ) = %d (%p)\n", source, condition, function, data, st, closure);
    130130
    131131        g_io_channel_unref(channel);
     
    140140        gint st = g_timeout_add(timeout, (GSourceFunc) func, data);
    141141
    142         event_debug("b_timeout_add( %d, %d, %d ) = %d\n", timeout, func, data, st);
     142        event_debug("b_timeout_add( %d, %p, %p ) = %d\n", timeout, func, data, st);
    143143
    144144        return st;
Note: See TracChangeset for help on using the changeset viewer.