Hello Uz, * On Sat, Jan 21, 2012 at 11:03:16PM +0100 Ullrich von Bassewitz wrote: > On Sat, Jan 21, 2012 at 02:20:49PM +0100, Oliver Schmidt wrote: > > >> typedef unsigned (*irq_handler) (void); > > > > > > Bad style, I would highly advise to use the "int". [...] > My suggestion was actually to use "unsigned char", not "unsigned". But apart > from that, I do not agree with Spiro. Using "int" in every place is a bad > idea. I've suffered from some nasty bugs in the past that were caused by this > "everything must be an int" rule. I think I was not clear in what I meant. So, to be more precise: Instead of writing "unsigned", write "unsigned int". Regards, Spiro. -- Spiro R. Trikaliotis http://opencbm.sf.net/ http://www.trikaliotis.net/ http://vice-emu.sf.net/ ---------------------------------------------------------------------- To unsubscribe from the list send mail to majordomo@musoftware.de with the string "unsubscribe cc65" in the body(!) of the mail.Received on Sun Jan 22 09:49:03 2012
This archive was generated by hypermail 2.1.8 : 2012-01-22 09:49:07 CET