
7 Oct
2009
7 Oct
'09
10:59 a.m.
while 64bit isnt in today, might as well avoid unclean code from the start when possible. in other words, used "unsigned int" rather than "u32" and cast to "unsigned long" rather than "int".
You are right. Will do.
count /= 4;
count >>= 2 ? although gcc probably optimizes this properly.
gcc-4.0 for arm already turns it into a shift. I'll use "sizeof(unsigned long)" in version 2.
Thanks /alessandro