diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2008-11-04 15:34:44 +0100 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2008-11-04 15:34:44 +0100 |
commit | d32b22f76f9d677780780ec3ab1a497f0ad7a9d5 (patch) | |
tree | b1e6fda619e9d3d6f3d8d42b17dcac60ba0be23d /src/plugins/xfer | |
parent | e2a19660959d17b2ff615f90259dd543388c362a (diff) | |
download | weechat-d32b22f76f9d677780780ec3ab1a497f0ad7a9d5.zip |
Fix bug with pointer conversions on 64 bits architecture
Diffstat (limited to 'src/plugins/xfer')
-rw-r--r-- | src/plugins/xfer/xfer.c | 64 |
1 files changed, 32 insertions, 32 deletions
diff --git a/src/plugins/xfer/xfer.c b/src/plugins/xfer/xfer.c index 872b08982..acc02ddc3 100644 --- a/src/plugins/xfer/xfer.c +++ b/src/plugins/xfer/xfer.c @@ -1283,45 +1283,45 @@ xfer_print_log () for (ptr_xfer = xfer_list; ptr_xfer; ptr_xfer = ptr_xfer->next_xfer) { weechat_log_printf (""); - weechat_log_printf ("[xfer (addr:0x%x)]", ptr_xfer); - weechat_log_printf (" plugin_name . . . . : '%s'", ptr_xfer->plugin_name); - weechat_log_printf (" plugin_id . . . . . : '%s'", ptr_xfer->plugin_id); + weechat_log_printf ("[xfer (addr:0x%lx)]", ptr_xfer); + weechat_log_printf (" plugin_name . . . . : '%s'", ptr_xfer->plugin_name); + weechat_log_printf (" plugin_id . . . . . : '%s'", ptr_xfer->plugin_id); weechat_log_printf (" type. . . . . . . . : %d (%s)", ptr_xfer->type, xfer_type_string[ptr_xfer->type]); - weechat_log_printf (" remote_nick . . . . : '%s'", ptr_xfer->remote_nick); - weechat_log_printf (" local_nick. . . . . : '%s'", ptr_xfer->local_nick); - weechat_log_printf (" filename. . . . . . : '%s'", ptr_xfer->filename); - weechat_log_printf (" size. . . . . . . . : %lu", ptr_xfer->size); - weechat_log_printf (" address . . . . . . : %lu", ptr_xfer->address); - weechat_log_printf (" port. . . . . . . . : %d", ptr_xfer->port); + weechat_log_printf (" remote_nick . . . . : '%s'", ptr_xfer->remote_nick); + weechat_log_printf (" local_nick. . . . . : '%s'", ptr_xfer->local_nick); + weechat_log_printf (" filename. . . . . . : '%s'", ptr_xfer->filename); + weechat_log_printf (" size. . . . . . . . : %lu", ptr_xfer->size); + weechat_log_printf (" address . . . . . . : %lu", ptr_xfer->address); + weechat_log_printf (" port. . . . . . . . : %d", ptr_xfer->port); weechat_log_printf (" status. . . . . . . : %d (%s)", ptr_xfer->status, xfer_status_string[ptr_xfer->status]); - weechat_log_printf (" buffer. . . . . . . : 0x%x", ptr_xfer->buffer); - weechat_log_printf (" fast_send . . . . . : %d", ptr_xfer->fast_send); - weechat_log_printf (" blocksize . . . . . : %d", ptr_xfer->blocksize); - weechat_log_printf (" start_time. . . . . : %ld", ptr_xfer->start_time); - weechat_log_printf (" start_transfer. . . : %ld", ptr_xfer->start_transfer); - weechat_log_printf (" sock. . . . . . . . : %d", ptr_xfer->sock); - weechat_log_printf (" child_pid . . . . . : %d", ptr_xfer->child_pid); - weechat_log_printf (" child_read. . . . . : %d", ptr_xfer->child_read); - weechat_log_printf (" child_write . . . . : %d", ptr_xfer->child_write); - weechat_log_printf (" unterminated_message: '%s'", ptr_xfer->unterminated_message); - weechat_log_printf (" file. . . . . . . . : %d", ptr_xfer->file); - weechat_log_printf (" local_filename. . . : '%s'", ptr_xfer->local_filename); - weechat_log_printf (" filename_suffix . . : %d", ptr_xfer->filename_suffix); - weechat_log_printf (" pos . . . . . . . . : %lu", ptr_xfer->pos); - weechat_log_printf (" ack . . . . . . . . : %lu", ptr_xfer->ack); - weechat_log_printf (" start_resume. . . . : %lu", ptr_xfer->start_resume); - weechat_log_printf (" last_check_time . . : %ld", ptr_xfer->last_check_time); - weechat_log_printf (" last_check_pos. . . : %lu", ptr_xfer->last_check_pos); - weechat_log_printf (" last_activity . . . : %ld", ptr_xfer->last_activity); - weechat_log_printf (" bytes_per_sec . . . : %lu", ptr_xfer->bytes_per_sec); - weechat_log_printf (" eta . . . . . . . . : %lu", ptr_xfer->eta); - weechat_log_printf (" prev_xfer . . . . . : 0x%x", ptr_xfer->prev_xfer); - weechat_log_printf (" next_xfer . . . . . : 0x%x", ptr_xfer->next_xfer); + weechat_log_printf (" buffer. . . . . . . : 0x%lx", ptr_xfer->buffer); + weechat_log_printf (" fast_send . . . . . : %d", ptr_xfer->fast_send); + weechat_log_printf (" blocksize . . . . . : %d", ptr_xfer->blocksize); + weechat_log_printf (" start_time. . . . . : %ld", ptr_xfer->start_time); + weechat_log_printf (" start_transfer. . . : %ld", ptr_xfer->start_transfer); + weechat_log_printf (" sock. . . . . . . . : %d", ptr_xfer->sock); + weechat_log_printf (" child_pid . . . . . : %d", ptr_xfer->child_pid); + weechat_log_printf (" child_read. . . . . : %d", ptr_xfer->child_read); + weechat_log_printf (" child_write . . . . : %d", ptr_xfer->child_write); + weechat_log_printf (" unterminated_message: '%s'", ptr_xfer->unterminated_message); + weechat_log_printf (" file. . . . . . . . : %d", ptr_xfer->file); + weechat_log_printf (" local_filename. . . : '%s'", ptr_xfer->local_filename); + weechat_log_printf (" filename_suffix . . : %d", ptr_xfer->filename_suffix); + weechat_log_printf (" pos . . . . . . . . : %lu", ptr_xfer->pos); + weechat_log_printf (" ack . . . . . . . . : %lu", ptr_xfer->ack); + weechat_log_printf (" start_resume. . . . : %lu", ptr_xfer->start_resume); + weechat_log_printf (" last_check_time . . : %ld", ptr_xfer->last_check_time); + weechat_log_printf (" last_check_pos. . . : %lu", ptr_xfer->last_check_pos); + weechat_log_printf (" last_activity . . . : %ld", ptr_xfer->last_activity); + weechat_log_printf (" bytes_per_sec . . . : %lu", ptr_xfer->bytes_per_sec); + weechat_log_printf (" eta . . . . . . . . : %lu", ptr_xfer->eta); + weechat_log_printf (" prev_xfer . . . . . : 0x%lx", ptr_xfer->prev_xfer); + weechat_log_printf (" next_xfer . . . . . : 0x%lx", ptr_xfer->next_xfer); } } |