utils: fix position of cast in sample sequence calculation
utils: fix position of cast in sample sequence calculation

xunchangguo/BMX,kierank/bmxlib-bmx,xunchangguo/BMX,xunchangguo/BMX,Limecraft/ebu-bmx,Limecraft/ebu-bmx,kierank/bmxlib-bmx,ebu/ebu-bmx,ebu/ebu-bmx,kierank/bmxlib-bmx,Limecraft/ebu-bmx,ebu/ebu-bmx,stuarthicks/bmx,stuarthicks/bmx,stuarthicks/bmx