[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#7908: png-1.5 fix for emacs-23.2 and HEAD
From: |
Chong Yidong |
Subject: |
bug#7908: png-1.5 fix for emacs-23.2 and HEAD |
Date: |
Sat, 29 Jan 2011 15:33:00 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
Eli Zaretskii <eliz@gnu.org> writes:
> Does this alternate definition of PNG_JMPBUF make sense?
>
> #define PNG_JMPBUF(ptr) \
> (*(jmp_buf *)(fn_png_set_longjmp_fn((ptr), longjmp, sizeof (jmp_buf))))
Aha, I think it makes sense. Since DEF_IMGLIB_FN defines a return type
of int, whereas fn_png_set_longjmp_fn actually returns a (jmp_buf *), we
do indeed need to perform the extra cast. Well spotted. Does Emacs
compile properly with this change?
- bug#7908: png-1.5 fix for emacs-23.2 and HEAD, (continued)
- bug#7908: png-1.5 fix for emacs-23.2 and HEAD, Eli Zaretskii, 2011/01/29
- bug#7908: png-1.5 fix for emacs-23.2 and HEAD, Chong Yidong, 2011/01/29
- bug#7908: png-1.5 fix for emacs-23.2 and HEAD, Eli Zaretskii, 2011/01/29
- bug#7908: png-1.5 fix for emacs-23.2 and HEAD, Chong Yidong, 2011/01/29
- bug#7908: png-1.5 fix for emacs-23.2 and HEAD, Eli Zaretskii, 2011/01/29
- bug#7908: png-1.5 fix for emacs-23.2 and HEAD, Eli Zaretskii, 2011/01/29
- bug#7908: png-1.5 fix for emacs-23.2 and HEAD,
Chong Yidong <=
- bug#7908: png-1.5 fix for emacs-23.2 and HEAD, Eli Zaretskii, 2011/01/29
- bug#7908: png-1.5 fix for emacs-23.2 and HEAD, Chong Yidong, 2011/01/29
- bug#7908: png-1.5 fix for emacs-23.2 and HEAD, Andreas Schwab, 2011/01/29
- bug#7908: png-1.5 fix for emacs-23.2 and HEAD, Chong Yidong, 2011/01/29
- bug#7908: png-1.5 fix for emacs-23.2 and HEAD, Andreas Schwab, 2011/01/29