diff options
author | jcid <devnull@localhost> | 2007-10-11 20:55:12 +0200 |
---|---|---|
committer | jcid <devnull@localhost> | 2007-10-11 20:55:12 +0200 |
commit | fecc92e0ea7103f14aa843ac7236feff8a4c093c (patch) | |
tree | b670182454106625aded0ce3d2e3264672fa83d9 /dlib/dlib.h | |
parent | 9306f65b8de5aad7bc61e39e94bd9d190c3573e8 (diff) |
+- Connected signals to <li> 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
Diffstat (limited to 'dlib/dlib.h')
-rw-r--r-- | dlib/dlib.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/dlib/dlib.h b/dlib/dlib.h index 6caf7c97..c54ab6ad 100644 --- a/dlib/dlib.h +++ b/dlib/dlib.h @@ -33,7 +33,8 @@ extern "C" { *-- Casts ------------------------------------------------------------------- */ /* TODO: include a void* size test in configure.in */ -#define VOIDP2INT(p) ((int)(p)) +/* (long) works for both 32bit and 64bit */ +#define VOIDP2INT(p) ((long)(p)) #define INT2VOIDP(i) ((void*)(i)) /* |