fix incorrect type caused issue on 64bit powerpc

Signed-off-by: Insop Song <insop.song@gainspeed.com>