Fixed a compiled error.

Signed-off-by: wouyang <wouyang@actuate.com>