Source: sushi
Version: 1.4.0+git20160822+dfsg-4
Severity: important

Hi,

Trying to build sushi with the latest version of libminiupnpc-dev which I
uploaded in Experimental failed. Here's the build log:

../source/plugins/upnp.c: In function ‘init’:
../source/plugins/upnp.c:271:56: warning: passing argument 6 of ‘upnpDiscover’ 
makes integer from pointer without a cast [-Wint-conversion]
   miniupnpc_dev = upnpDiscover(1000, NULL, NULL, 0, 0, &error);
                                                        ^
In file included from ../source/plugins/upnp.c:41:0:
/usr/include/miniupnpc/miniupnpc.h:62:1: note: expected ‘unsigned char’ but 
argument is of type ‘gint * {aka int *}’
 upnpDiscover(int delay, const char * multicastif,
 ^~~~~~~~~~~~
../source/plugins/upnp.c:271:19: error: too few arguments to function 
‘upnpDiscover’
   miniupnpc_dev = upnpDiscover(1000, NULL, NULL, 0, 0, &error);
                   ^~~~~~~~~~~~
In file included from ../source/plugins/upnp.c:41:0:
/usr/include/miniupnpc/miniupnpc.h:62:1: note: declared here
 upnpDiscover(int delay, const char * multicastif,
 ^~~~~~~~~~~~

Please fix the package before I upload libminiupnpc 2.0.20171212 in Sid, at
which time this bug will become RC.

Cheers,

Thomas Goirand (zigo)

Reply via email to