Fix to eliminate warnings caused by type mismatch. Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>