]> _ Git - termbox2.git/commit
fix alignment warnings
authorAdam Saponara <as@php.net>
Tue, 29 Apr 2025 01:45:55 +0000 (21:45 -0400)
committerAdam <as@php.net>
Thu, 1 May 2025 00:29:13 +0000 (20:29 -0400)
commita71f335e0ce5054c0fab730120e8b09bc0520b28
tree080b58e0c61fa900f93fb0aa163518a381e93a93
parente741960ad3398486a2cd457553cb94a7b377d467
fix alignment warnings

some architectures don't support reading an `int16_t` on an odd
memory. so several `int16_t` explicit casts while parsing terminfo
caps emit warnings. change these to `memcpy` to fix.

replace `header[n]` with variable names in `parse_terminfo_caps`.
termbox2.h