intel / dleyna-server

dleyna-server is a library for implementing services that allow clients to discover, browse and manipulate Digital Media Servers. An implementation of such a service for linux is also included.
https://01.org/dleyna/
GNU Lesser General Public License v2.1
28 stars 28 forks source link

[Props] Fix ChildCount property type #147

Closed jku closed 9 years ago

jku commented 9 years ago

It's a uint32, not a signed int.

Fixes #145.

I would have just pushed Bastiens fix ... but since I haven't been active in six months I thought it might be polite to go via PR. The other parts of the D-Bus handling code already treat the value as uint so this is just a bug fix: it still leaves the internal interface weird (why is count an int in the first place) but fixes the blatant bug.