From: Shawn Jefferson (sjefferson_at_sd62.bc.ca)
Date: 2002-12-19 20:01:31
How do type conversions work in cc65? What are the rules that the compiler follows when evaluating lines such as: long size; size = size * 1000; or size = size % 10; I've found that I've had to put (long) in a few places to get things working correctly with 2.9.0. Is it good practice to always do this, or let the compiler decide for you? With gcc, type conversions always seemed to be pretty transparent (to me.) Advice is greatly appreciated! ¯ Shawn ---------------------------------------------------------------------- To unsubscribe from the list send mail to majordomo_at_musoftware.de with the string "unsubscribe cc65" in the body(!) of the mail.
This archive was generated by hypermail 2.1.3 : 2002-12-20 00:12:31 CET