[PATCH] avoid warnings from new/better microhttpd.h signature for...

Jim Meyering jim at meyering.net
Wed Dec 8 18:08:23 UTC 2010


Jeff Darcy wrote:

> On 12/07/2010 07:43 AM, Jim Meyering wrote:
>> I am now using libmicrohttpd-0.9.2-3.fc14.x86_64 on F14.
>> Without the following patch on F14, I would see these warnings:
>>
>> rest.c: In function 'proxy_get_data':
>> rest.c:359:3: warning: passing argument 3 of
>> MHD_create_response_from_callback' from incompatible pointer type
>> /usr/include/microhttpd.h:1138:22: note: expected
>> MHD_ContentReaderCallback' but argument is of type 'int (*)(void *,
>> uint64_t, char *, int)'
...
>> With this patch, the warnings are avoided:
>
>
> Looks pretty reasonable to me.  ACK.

Thanks for looking.  I've pushed it.


More information about the iwhd-devel mailing list