diff --git a/libasn1fix/check_fixer.c b/libasn1fix/check_fixer.c
index 21c5b12f41d3d5004eaf7efc9b2e905dbb8c9270..7129a5631061b4e59a5c39c7de9577901be3180b 100644
--- a/libasn1fix/check_fixer.c
+++ b/libasn1fix/check_fixer.c
@@ -246,7 +246,7 @@ post_fix_check_element(asn1p_module_t *mod, asn1p_expr_t *check_expr) {
 			"CHECKER: Unsupported value type of \"%s\": "
 			"%d at line %d of %s\n",
 			check_expr->Identifier,
-			value?value->type:-1,
+			value?(signed)value->type:-1,
 			expr->_lineno,
 			mod->source_file_name
 		);