[Mono-dev] [PATCH] Mono.Zeroconf Bonjour vs. Endianness
Casey Marshall
casey.s.marshall at gmail.com
Wed Sep 23 18:51:30 EDT 2009
On Sep 23, 2009, at 2:21 PM, Casey Marshall wrote:
> The endian conversion in the property
> Mono.Zeroconf.Providers.Bonjour.Service.UPort is wrong; casting
> between an int and a ushort doesn't do the right thing —
> NetworkToHostOrder will shift the low bytes into the high bytes, but
> casting that to a ushort discards the high bytes.
>
> Patch attached.
>
Yeah, I did forget about the big endian folks. Updated patch.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ServiceUPort.patch
Type: application/octet-stream
Size: 916 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20090923/82734734/attachment.obj
More information about the Mono-devel-list
mailing list