diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2024-04-02 16:42:48 +0000 |
---|---|---|
committer | Laurent Bercot <ska@appnovation.com> | 2024-04-02 16:42:48 +0000 |
commit | 452a56a21670fd005208282f0479a1c4537325e3 (patch) | |
tree | d44cd73aab4ba895f8fc5a29222b6a8cc48d71d6 /src/headers/signed-template | |
parent | 81872f7e0a6cbbb6aa29704459af0bc965d9c4a2 (diff) | |
download | skalibs-452a56a21670fd005208282f0479a1c4537325e3.tar.xz |
Workaround for gcc 14 (and others!) incompatible-pointer-types stupidity
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'src/headers/signed-template')
-rw-r--r-- | src/headers/signed-template | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/headers/signed-template b/src/headers/signed-template index a3b85eb..10f89c1 100644 --- a/src/headers/signed-template +++ b/src/headers/signed-template @@ -7,8 +7,8 @@ #define @TYPE@_FMT (1+UINT@BITS@_FMT) #define @type@_fmt int@BITS@_fmt #define @type@_fmtlist int@BITS@_fmtlist -#define @type@_scan int@BITS@_scan -#define @type@0_scan int@BITS@0_scan -#define @type@_scanlist int@BITS@_scanlist +#define @type@_scan(s, d, b) int@BITS@_scan(s, (int@BITS@_t *)d, b) +#define @type@0_scan(s, d, b) int@BITS@0_scan(s, (int@BITS@_t *)d, b) +#define @type@_scanlist(tab, max, s, num) int@BITS@_scanlist((int@BITS@_t *)tab, max, s, num) |