Correct expected type in check_scanf_format().
[cparser] / format_check.c
index 5580d91..e300893 100644 (file)
@@ -843,7 +843,7 @@ check_c_width:
                                warn_invalid_length_modifier(pos, fmt_mod, fmt);
                                goto next_arg;
                        }
-                       expected_type = type_void_ptr;
+                       expected_type = type_void;
                        break;
 
                case 'n': {