[riot-devel] Use fixed size types in 'hwtimer_arch' function signatures

ROUSSEL Kévin Kevin.Roussel at inria.fr
Wed Feb 12 09:57:31 CET 2014


Hello,

While working on the MSP430 hwtimer implementations, I came to wonder 
whether we should use fixed size type (i.e.: uint32_t or uint8_t) 
instead of ambiguous types like long or short.

It seems to me fixed bit sizes would be preferable, since we work on 
various architectures for which long or short may not mean the same 
number of bits. What do you think?
-- 


      Kévin Roussel
      Doctorant, projet LAR
      Équipe MADYNES, INRIA Nancy Grand-Est / LORIA
      Tél. : +33 3 54 95 86 27
      Kevin.Roussel at inria.fr



More information about the devel mailing list