summaryrefslogtreecommitdiffstats
path: root/meta/classes
diff options
context:
space:
mode:
authorZoltan Boszormenyi <zboszor@gmail.com>2024-04-29 12:29:59 +0200
committerAlexandre Belloni <alexandre.belloni@bootlin.com>2024-04-29 21:25:50 +0200
commit5fadd26506e2480c995aa23e75f22d6b13212316 (patch)
treea7b8ea44fefd5ed73fde569b1245102b27aa7223 /meta/classes
parente5a08a21b5b54e63c319ee01d4674c3d8f46b09c (diff)
downloadopenembedded-core-contrib-abelloni/master-next-success.tar.gz
cracklib: Modify patch to compile with GCC 14abelloni/master-next-success
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. Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'meta/classes')
0 files changed, 0 insertions, 0 deletions