Hello strk,
Wednesday, April 8, 2009, 10:53:13 AM, you wrote:
s> "invalid cast" came from a testcase of mine.
s> The problem was that htons(short) was returing a 32bit integer
s> when -O2 was used. Follow file/linenum and use a temp 16bit variable
s> to hold the return from htons(). If it fixes, it's it.
Not sure what I have to do, exactly.
I tried:
short int temp
= htons(version)
+ htons(headers)
+ htons(messages);
*buf = temp;
But it still gives me the same error on the buf=temp assignment.
Please show em the concrete patch.
Thanks,
Udo
_______________________________________________
Gnash-dev mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/gnash-dev