Got rid of signed/unsigned-comparison warning if st_dev is signed.