diff options
author | Thomas Voss <mail@thomasvoss.com> | 2023-12-30 18:13:02 +0100 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2023-12-30 18:13:02 +0100 |
commit | 14a1ff037694d1e56c1552fbbd15a4a6a3ae7a1d (patch) | |
tree | a1646716f7233f361c99a29d584878c004e04ef0 | |
parent | ce696555f15ff7d583dc85836f81d18cf2c7558d (diff) |
Properly cast to const char **
-rw-r--r-- | cbs.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -205,7 +205,8 @@ static bool fmdnewer(const char *, const char *); the sources to base as variadic arguments instead of as an array. */ static bool foutdatedv(const char *base, const char **p, size_t n); #define foutdated(s, ...) \ - foutdatedv(s, _vtoa(__VA_ARGS__), lengthof(_vtoa(__VA_ARGS__))) + foutdatedv(s, (const char **)_vtoa(__VA_ARGS__), \ + lengthof(_vtoa(__VA_ARGS__))) /* Rebuild the build script if either it, or this header file have been modified, and execute the newly built script. You should call the rebuild() |