Re: [cc65] type conversions again...

Date view Thread view Subject view

From: Shawn Jefferson (sjefferson_at_sd62.bc.ca)
Date: 2002-12-20 01:18:43


>>> Ullrich von Bassewitz <uz_at_musoftware.de> 12/19/02 03:43PM >>>
>
>    array[38] = ((unsigned) &array) % 256;
>    array[39] = ((unsigned) &array) / 256;

Thanks Ullrich!  This of course works beautifully, and I think that this actually entered my brain.

Is it common practice to leave off the int when declaring/typecasting ints?



----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo_at_musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.


Date view Thread view Subject view

This archive was generated by hypermail 2.1.3 : 2002-12-20 01:19:33 CET