On Mon, Apr 08, 2013 at 04:01:52PM -0700, Junio C Hamano wrote:

> +static inline intptr_t get_indegree(struct decoration *indegree,
> +                                 struct commit *commit)
> +{
> +     if (commit->indegree < QUICK_INDEGREE_LIMIT)
> +             return commit->indegree;
> +     else {
> +             void *count = lookup_decoration(indegree, &commit->object);
> +             return (int) count;
> +     }
> +}

Should that cast be to intptr_t?

-Peff
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to