Fix bad cast introduced in https://crrev.com/246d85666a1

Variable type was not the same as the cast type. Fix that.

BUG=879657

Change-Id: I75c84da09131bf9e1c15966c8c7f48c262987acd
Reviewed-on: https://chromium-review.googlesource.com/c/1398395
Reviewed-by: Ehsan Karamad <ekaramad@chromium.org>
Commit-Queue: Dave Tapuska <dtapuska@chromium.org>
Cr-Commit-Position: refs/heads/master@{#620454}
1 file changed