tinycc-devel
[Top][All Lists]
Advanced

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

[Tinycc-devel] BUG: unsigned short return type? (probably others)


From: Merlin R. Avery Jr.
Subject: [Tinycc-devel] BUG: unsigned short return type? (probably others)
Date: Fri, 16 Jan 2004 16:11:00 -0600

Most programmers are aware of the function ntohs which converts a short for byte ordering changes. This would return a unsigned short. When tcc gets a hold of the return value, it assumes it is a 32-bit integer return which would be in eax instead of ax, even when casted to an unsigned short. This causes alot of problems, I'm currently working on a fix for it. If anyone else figures one out before I come up with one, let me know.
 
-Merlin Avery

reply via email to

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