How can I modify the excerpt length for a custom post type "Recent Posts" sidebar widget?

How can I modify the excerpt length for a custom post type "Recent Posts" sidebar widget?