[vlc-commits] UPnP: fix warning
Rémi Denis-Courmont
git at videolan.org
Sat May 14 13:09:43 CEST 2011
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat May 14 14:00:34 2011 +0300| [6364bc24f805685438bf88357546683c6c457a3d] | committer: Rémi Denis-Courmont
UPnP: fix warning
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=6364bc24f805685438bf88357546683c6c457a3d
---
modules/services_discovery/upnp.cpp | 2 +-
modules/services_discovery/upnp.hpp | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/services_discovery/upnp.cpp b/modules/services_discovery/upnp.cpp
index 05d79ae..7e6311e 100644
--- a/modules/services_discovery/upnp.cpp
+++ b/modules/services_discovery/upnp.cpp
@@ -1071,7 +1071,7 @@ const char* Item::getResource() const
return _resource.c_str();
}
-const mtime_t Item::getDuration() const
+mtime_t Item::getDuration() const
{
return _duration;
}
diff --git a/modules/services_discovery/upnp.hpp b/modules/services_discovery/upnp.hpp
index 9469c02..4778216 100644
--- a/modules/services_discovery/upnp.hpp
+++ b/modules/services_discovery/upnp.hpp
@@ -126,7 +126,7 @@ public:
const char* getObjectID() const;
const char* getTitle() const;
const char* getResource() const;
- const mtime_t getDuration() const;
+ mtime_t getDuration() const;
void setInputItem( input_item_t* p_input_item );
More information about the vlc-commits
mailing list