Two points
Christian Ludlam
chris at recoil.org
Sun Oct 12 12:12:15 BST 2003
On 11 Oct Philip Ludlam wrote:
> Sometime I've found OSLib to use use int where IMHO unsigned int/size_t or
> unsigned long would be better. Unfotunately, the only one I can currently
> think of is file sizes (now who has ever heard of a file having a negative
> size? -:) ), but due to it's size there must be others.
In this case that would be wrong - FileSwitch itself treats these numbers as
signed. Try this:
*create $.a 80000000
The disc has no more available space
*create $.a 7fffffff
<works>
--
Christian Ludlam
chris at recoil.org
More information about the oslib-user
mailing list