| From: Tyler Trafford <[EMAIL PROTECTED]>

| D. Hugh Redelmeier <[EMAIL PROTECTED]> wrote:
| 
| > Without looking at the code, I would guess that you are not masking
| > the value properly when assigning the low-order byte.

[Or it could be the high-order byte if the value was wider than 16
bits.]

| u8 buffer[2] = { addr >> 8, addr & 0xff };
| 
| 'addr' is a u16.

That sounds fine.

Chris: I am willing to investigate if you can point me at the *exact*
code so that I can duplicate the problem here.


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
ivtv-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ivtv-devel

Reply via email to