Recasting away constness.
git-svn-id: https://pupnp.svn.sourceforge.net/svnroot/pupnp/trunk@540 119443c7-1b9e-41f8-b6fc-b9c35fce742c
This commit is contained in:
parent
7f1be91e76
commit
da5cf568e6
@ -3208,7 +3208,8 @@ void UpnpThreadDistribution(struct UpnpNonblockParam *Param)
|
||||
#if EXCLUDE_GENA == 0
|
||||
case SUBSCRIBE: {
|
||||
UpnpEventSubscribe *evt = UpnpEventSubscribe_new();
|
||||
const UpnpString *Sid = UpnpEventSubscribe_get_SID(evt);
|
||||
// Cast away constness
|
||||
UpnpString *Sid = (UpnpString *)UpnpEventSubscribe_get_SID(evt);
|
||||
|
||||
UpnpEventSubscribe_strcpy_PublisherUrl(evt, Param->Url);
|
||||
errCode = genaSubscribe(
|
||||
|
Loading…
x
Reference in New Issue
Block a user