diff options
| author | Paul Eggert | 2025-01-26 22:15:49 -0800 |
|---|---|---|
| committer | Paul Eggert | 2025-01-26 23:05:53 -0800 |
| commit | ff65cc9944dc0b37986d512ee8b9817c6913db36 (patch) | |
| tree | e8ab859edf18216c1cbc41df371a3a4ee8d7747b /src/msdos.c | |
| parent | c0d83876f18cb21abae299d3b4a2a2bd7f117252 (diff) | |
| download | emacs-ff65cc9944dc0b37986d512ee8b9817c6913db36.tar.gz emacs-ff65cc9944dc0b37986d512ee8b9817c6913db36.zip | |
Pacify GCC in pgtkselect malloc alignment
* src/pgtkselect.c (pgtk_size_for_format): Remove.
(pgtk_get_window_property): Third arg is now void **, not unsigned
char **. Omit last arg. All callers changed. Simplify
allocation to pacify GCC 14.2.1 complaint about malloc size
mismatching size of array: there’s no need for an extra byte when
converting from ldata to idata.
(selection_data_to_lisp_data): Third arg is now void const *,
not unsigned char const *. All callers changed.
Omit unnecessary casts. Make some locals more local.
Diffstat (limited to 'src/msdos.c')
0 files changed, 0 insertions, 0 deletions