fixed bytes conversion when used on 32-bits systems