Fix compile error on casting pointer type

Explicitly cast void * to sfn_t to avoid compile error

Change-Id: I1033144f6cc2edb165626cc75a59fc30fa875d9d
Signed-off-by: Chun-Chieh Li <ccli8@nuvoton.com>
1 file changed