| commit | a7cae7faf146227fdbffde6d5fed68417fc4120f | [log] [tgz] |
|---|---|---|
| author | Alan Modra <amodra@gmail.com> | Fri May 02 12:42:32 2025 +0930 |
| committer | Alan Modra <amodra@gmail.com> | Tue May 06 17:05:40 2025 +0930 |
| tree | 8ef3ee570b73a9aa02b293abb5056cee32ee010b | |
| parent | c9524271db0fca0a6f156e7e996584dd4e185b26 [diff] |
windres_get_* functions windres_get_32 and similar have a length parameter that in most cases is just the required length, so it is redundant. The few cases where a variable length is passed are all in resrc.c. So, get rid of the length parameter and introduce wrappers in resrc.c to check the length.