On (25/11/09 07:49), Graham Gower wrote: > sizeof returns long unsigned int on x86_64. This is fixed in r365.
sizeof return size_t which is a type in itself so if you want portability between 32-bit and 64-bit systems you should probably use 'z' length modifier in printf formats. '%zd' would work correctly irrespective of word lenght of the processor. You need C99 compliant compiler though. Thanks -Khem > > _______________________________________________ > Openembedded-devel mailing list > [email protected] > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel _______________________________________________ Openembedded-devel mailing list [email protected] http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
