Fixed a compiled error.

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