Source: psensor
Version: 1.1.5-1.1
Severity: serious
Tags: ftbfs

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/psensor.html

...
server.c: In function 'main':
server.c:430:21: error: passing argument 5 of 'MHD_start_daemon' from 
incompatible pointer type [-Werror=incompatible-pointer-types]
  430 |         NULL, NULL, &cbk_http_request, server_data.sensors,
      |                     ^~~~~~~~~~~~~~~~~
      |                     |
      |                     int (*)(void *, struct MHD_Connection *, const char 
*, const char *, const char *, const char *, size_t *, void **) {aka int 
(*)(void *, struct MHD_Connection *, const char *, const char *, const char *, 
const char *, long unsigned int *, void **)}
In file included from server.c:39:
/usr/include/microhttpd.h:2425:1: note: expected 'MHD_AccessHandlerCallback' 
{aka 'enum MHD_Result (*)(void *, struct MHD_Connection *, const char *, const 
char *, const char *, const char *, long unsigned int *, void **)'} but 
argument is of type 'int (*)(void *, struct MHD_Connection *, const char *, 
const char *, const char *, const char *, size_t *, void **)' {aka 'int 
(*)(void *, struct MHD_Connection *, const char *, const char *, const char *, 
const char *, long unsigned int *, void **)'}
 2425 | MHD_start_daemon (unsigned int flags,
      | ^~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make[4]: *** [Makefile:471: server.o] Error 1

Reply via email to