diff options
author | Zoltan Boszormenyi <zboszor@gmail.com> | 2024-04-29 12:29:59 +0200 |
---|---|---|
committer | Steve Sakoman <steve@sakoman.com> | 2024-06-19 08:34:58 -0700 |
commit | 0b35aab4668dc8c1f3b2795fac55109f210ac1a4 (patch) | |
tree | 7a601ddbe75af78a76c3785020cee6a471f39c27 /meta/recipes-devtools/gcc/gcc-13.3.inc | |
parent | 554e8de6a48a73c971c750f7f1798dc80e2ea3f4 (diff) | |
download | poky-0b35aab4668dc8c1f3b2795fac55109f210ac1a4.tar.gz |
cracklib: Modify patch to compile with GCC 14
GCC 14 implicitly turns a warning into a compiler error:
| ../../git/src/lib/packlib.c: In function ‘PWClose’:
| ../../git/src/lib/packlib.c:554:40: error: passing argument 1 of ‘HwmsHostToBigEndian’ from incompatible pointer type [-Wincompatible-pointer-types]
| 554 | HwmsHostToBigEndian(tmp_pwp.hwms, sizeof(tmp_pwp.hwms), en_is32);
| | ~~~~~~~^~~~~
| | |
| | uint32_t * {aka unsigned int *}
| ../../git/src/lib/packlib.c:142:27: note: expected ‘char *’ but argument is of type ‘uint32_t *’ {aka ‘unsigned int *’}
| 142 | HwmsHostToBigEndian(char *pHwms, int nLen,int nBitType)
| | ~~~~~~^~~~~
Add the cast to (char *) to silence it.
(From OE-Core rev: 50b9126cd8668d8c039e9bd61eaba458f7a22014)
Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 914128f6bd988cde278e087fb9457a0c70c7e5ec)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Diffstat (limited to 'meta/recipes-devtools/gcc/gcc-13.3.inc')
0 files changed, 0 insertions, 0 deletions