]> git.eshelyaron.com Git - emacs.git/commit
Compute size of structs with flexible arrays correctly in Motif DND code
authorPo Lu <luangruo@yahoo.com>
Sat, 2 Apr 2022 08:38:19 +0000 (16:38 +0800)
committerPo Lu <luangruo@yahoo.com>
Sat, 2 Apr 2022 08:38:19 +0000 (16:38 +0800)
commitf66a47b5bca7a9c603040b7c62a2562a925c94d3
tree62ec3f4f0b67c37f54ecf53cc78cf60fa477b054
parentb312959ebd528b01e95fe5eca71cc3890a97421d
Compute size of structs with flexible arrays correctly in Motif DND code

* src/xterm.c (xm_read_targets_table_rec, xm_setup_dnd_targets):
Use FLEXSIZEOF instead of sizeof on struct xm_targets_table_rec.
src/xterm.c