summaryrefslogtreecommitdiff
path: root/src/lib/upnp/Discovery.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2017-11-16 11:37:58 +0100
committerMax Kellermann <max@musicpd.org>2017-11-16 11:37:58 +0100
commit952ff4207bcbf9cd0a19c9b5fb438a3cac2cbd4c (patch)
treed3ac1af356ab3409cc8b42f06d699c06953e6804 /src/lib/upnp/Discovery.cxx
parent150b16ec2c335d2f4b2006d5da4069d0c59050cb (diff)
lib/upnp/Callback: make "evp" parameter const
Diffstat (limited to 'src/lib/upnp/Discovery.cxx')
-rw-r--r--src/lib/upnp/Discovery.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/upnp/Discovery.cxx b/src/lib/upnp/Discovery.cxx
index 955d59ef6..1dec2ed98 100644
--- a/src/lib/upnp/Discovery.cxx
+++ b/src/lib/upnp/Discovery.cxx
@@ -182,7 +182,7 @@ UPnPDeviceDirectory::OnByeBye(const Upnp_Discovery *disco)
// Example: ContentDirectories appearing and disappearing from the network
// We queue a task for our worker thread(s)
int
-UPnPDeviceDirectory::Invoke(Upnp_EventType et, void *evp)
+UPnPDeviceDirectory::Invoke(Upnp_EventType et, const void *evp)
{
switch (et) {
case UPNP_DISCOVERY_SEARCH_RESULT: