https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67759

Martin Sebor <msebor at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |msebor at gcc dot gnu.org
         Resolution|---                         |FIXED

--- Comment #3 from Martin Sebor <msebor at gcc dot gnu.org> ---
I see the warning with all supported GCC releases so resolving as fixed:

pr67759.c: In function ‘should_warn’:
pr67759.c:18:6: warning: passing argument 1 of ‘get’ makes pointer from integer
without a cast [-Wint-conversion]
   18 |  get(1);
      |      ^
      |      |
      |      int
pr67759.c:10:17: note: expected ‘void *’ but argument is of type ‘int’
   10 | void *get(void *con)
      |           ~~~~~~^~~

Reply via email to