]> git.eshelyaron.com Git - emacs.git/commit
Pacify gcc -std=c99 with printf %p
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 20 Apr 2022 02:02:05 +0000 (19:02 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 20 Apr 2022 02:19:35 +0000 (19:19 -0700)
commit67940394c03450e767724a461c061921e2329bab
tree4f6754438cd7bac984c49be1006161aeadb2b620
parentcfadba6f2391424431e0f2e08ec9f97336231564
Pacify gcc -std=c99 with printf %p

* src/print.c (print_vectorlike): Assign pointer-to-function
to void * before printing it with %p, as the C standard
doesn’t bless printing function pointers with %p.
src/print.c