gnash-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re[2]: [Gnash-dev] cross-compiling for ARM / Angstrom: bugs and problems


From: Udo Giacomozzi
Subject: Re[2]: [Gnash-dev] cross-compiling for ARM / Angstrom: bugs and problems
Date: Wed, 8 Apr 2009 13:19:11 +0200

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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]