added typecast when converting from long to unsigned short, to prevent compiler warning
1 file changed