fix a type in comps.

Signed-off-by: Zhao Chao <zhaochao1984@gmail.com>