Package: libupnp0
Version: 1.2.1-2
Severity: normal

The following warning occurs when compiling with gcc 4.0 and libupnp-dev:

  In file included from /usr/include/upnp/upnp.h:40,
                        [..]
  /usr/include/upnp/ixml.h:298: warning: type qualifiers ignored on function 
return type

This patch should fix that. Would you please add this to the debian package,
as the libupnp maintainers upstream don't seem to be interested (in this or
any other patch fixing small bugs for that matter).

Regards,

Oskar Liljeblad ([EMAIL PROTECTED])

diff -u ixml/inc/ixml.h.v0 ixml/inc/ixml.h
--- ixml/inc/ixml.h.v0   2005-08-02 12:32:56.000000000 +0200
+++ ixml/inc/ixml.h      2005-08-02 12:34:05.000000000 +0200
@@ -292,7 +292,7 @@
    *          {\bf Node}.
    */

-const unsigned short
+unsigned short
 ixmlNode_getNodeType(IXML_Node *nodeptr
                       /** The {\bf Node} from which to retrieve the type. */
                     );




-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.11.8
Locale: LANG=C, LC_CTYPE=en_GB (charmap=ISO-8859-1)

Versions of packages libupnp0 depends on:
ii  libc6                       2.3.2.ds1-22 GNU C Library: Shared libraries an

libupnp0 recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to