[MINOR] fix compile error

Author: Zhao, Qingwen <qingwzhao@apache.org>

Closes #962 from qingwen220/minor.
1 file changed