On 20/08/2015 8:39 PM, Yann Ylavic wrote:
Hi,
On Thu, Aug 20, 2015 at 11:56 AM, NormW <[email protected]> wrote:
# File: h2_session.c
# ---------------------
#
512:nghttp2_session_callbacks_set_on_invalid_frame_recv_callback(*pcb,
on_invalid_frame_recv_cb)
# Error:
^
# illegal implicit conversion
# from 'int (struct nghttp2_session *, const union *,
@enum$24h2_session_c, void *)'
# to 'int (*)(struct nghttp2_session *, const union *, int, void *)'
It seems that the nghttp2_on_invalid_frame_recv_callback type requires
an int for its error parameter, not a nghttp2_error enum.
Does the attached patch helps?
Regards,
Yann.
G/Evening from Down Under,
Yes! Whatever the patch did (not yet looked) it worked; h2_session.c
(and mod_h2 now compile/link without error.
If my compiler was a person I'd have to shout it a beer.
Regards,
Thanks for solving my Mystery.
Norm