QuickTime Streaming Server for Linux.. on x86

Deirdre Saoirse dsaoirse at linuxcare.com
Fri Jul 9 09:19:07 EST 1999


At 4:09 PM -0400 7/8/99, Hollis R Blanchard wrote:
>On Thu, 8 Jul 1999, Charles A. Jolley wrote:
>> Changing the single ticks to quotes will most definitely introduce errors,
>> though, because that will cause the compiler to produce a 32-bit pointer to
>> a NULL terminated string "frac", rather than a 32-bit value equal to the
>> four characters 'frac'.  This can be particularly deadly in code where types
>> are explicitly cast because it is still a 32-bit value either way.
>
>Just hoping for a quick fix... =)

Try treating the four-char constant as a four-byte integer instead. That's
really how it's represented in the MacOS. :)

Think of it as an undotted quad. :)


Deirdre Saoirse, Systems Analyst, Linuxcare, Inc.
415.354.4878 x252 tel, 415.701.7457 fax
dsaoirse at linuxcare.com, http://www.linuxcare.com/
Linuxcare. At the center of Linux.



[[ This message was sent via the linuxppc-dev mailing list.  Replies are ]]
[[ not  forced  back  to the list, so be sure to Cc linuxppc-dev if your ]]
[[ reply is of general interest. Please check http://lists.linuxppc.org/ ]]
[[ and http://www.linuxppc.org/ for useful information before posting.   ]]





More information about the Linuxppc-dev mailing list