Clean up shorten-64-to-32 warning in scan.c

Change-Id: Ifbc5310fa6476c64db9d35576fa45dfb2014989f
1 file changed