Signed-off-by: Adam DiCarlo <adam.dicarlo@xxxxxxxxx> --- evaluate.c | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/evaluate.c b/evaluate.c index 177797a..3076d41 100644 --- a/evaluate.c +++ b/evaluate.c @@ -253,8 +253,11 @@ warn_for_different_enum_types (struct po if (typea == typeb) return; - if (typea->type == SYM_ENUM && typeb->type == SYM_ENUM) + if (typea->type == SYM_ENUM && typeb->type == SYM_ENUM) { warning(pos, "mixing different enum types"); + info(pos, " %s versus", show_typename(typea)); + info(pos, " %s", show_typename(typeb)); + } } /* -- 1.4.2.ga444 - To unsubscribe from this list: send the line "unsubscribe linux-sparse" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html