Fixed 'implicit conversion changes signedness' warning

Hi, I know that it's not that big kind of matter, but with -Wsign-conversion enabled those lines produces warnings and it drives me crazy.