From fecc92e0ea7103f14aa843ac7236feff8a4c093c Mon Sep 17 00:00:00 2001 From: jcid Date: Thu, 11 Oct 2007 20:55:12 +0200 Subject: +- Connected signals to
  • elements (fixes links within lists). - Enabled text and background color-choice in preferences. - Enabled clicking over image links. Patches: place +- Fixed a va_list-related SEGFAULT on 64bit-arch in dStr_vsprintfa(). Patch: Vincent Thomasset +- Fixed void to int conversions for 64bit-arch. Patch: Jorge Arellano, higuita +- Added a strndup() replacement in dw2 Patch: Alexander Becher, Johannes Hofmann, Jorge Arellano +- Fixed calcHashValue() to only return non-negative numbers (was SEGFAULT). - Improved scrolling performance on large pages by copying screen data instead of rendering. Patches: Johannes Hofmann --- src/IO/IO.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/IO/IO.c') diff --git a/src/IO/IO.c b/src/IO/IO.c index 060fe200..8adb3658 100644 --- a/src/IO/IO.c +++ b/src/IO/IO.c @@ -255,7 +255,7 @@ static int IO_callback(int fd, IOData_t *io) */ static void IO_fd_read_cb(int fd, void *data) { - int io_key = (int)data; + int io_key = VOIDP2INT(data); IOData_t *io = IO_get(io_key); /* There should be no more events on already closed FDs --Jcid */ @@ -274,7 +274,7 @@ static void IO_fd_read_cb(int fd, void *data) */ static void IO_fd_write_cb(int fd, void *data) { - int io_key = (int)data; + int io_key = VOIDP2INT(data); IOData_t *io = IO_get(io_key); if (io == NULL) { -- cgit v1.2.3