Fixing an error in d6db7c555d0f11856ce5e3e479b16a4cf4689107 commit
Fixing an error in d6db7c555d0f11856ce5e3e479b16a4cf4689107 commit

Evt.Sid should not be cast into char* when calling sizeof otherwise
size will be 4.

(forward port of commit 288ef35ceeef9f2ee5411095c121368d7230d4b9)

BelledonneCommunications/libupnp,BelledonneCommunications/libupnp,mrjimenez/pupnp,BelledonneCommunications/libupnp,mrjimenez/pupnp,mrjimenez/pupnp,commshare/pupnp,BelledonneCommunications/libupnp,mrjimenez/pupnp,commshare/pupnp,commshare/pupnp