f020c4f5fb
Remove some of the "implicit integer or enum conversions" as well as some access to NULL reference in upnp part. (forward port of commit c67187ac94f25ae23b286a1521d968911edba61d)