aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAlexey Kardashevskiy <aik@ozlabs.ru>2021-01-27 19:37:55 +1100
committerAlexey Kardashevskiy <aik@ozlabs.ru>2021-02-12 13:46:16 +1100
commit73cb04d7df4eec3ae294e90d85b8b436a9bf1846 (patch)
tree603ec1c4d7125e2f07b7d01c9f58657fb70b04e8 /include
parent071a09ef070a5eff57c7548be5cdb1bb76c68c23 (diff)
downloadSLOF-73cb04d7df4eec3ae294e90d85b8b436a9bf1846.zip
SLOF-73cb04d7df4eec3ae294e90d85b8b436a9bf1846.tar.gz
SLOF-73cb04d7df4eec3ae294e90d85b8b436a9bf1846.tar.bz2
libhv: Compile with -Wextra
-Wextra enables a bunch of rather useful checks which this fixes. Reviewed-by: Thomas Huth <thuth@redhat.com> Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Diffstat (limited to 'include')
-rw-r--r--include/ppcp7/cache.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/ppcp7/cache.h b/include/ppcp7/cache.h
index 3c02bb1..611b6a3 100644
--- a/include/ppcp7/cache.h
+++ b/include/ppcp7/cache.h
@@ -124,7 +124,7 @@ static inline void ci_rmove(void *dst, void *src, unsigned long esize,
#define FAST_MRMOVE(s, d, size) _FASTRMOVE(s, d, size)
-extern void fast_rfill(char *dst, long size, char pat);
+extern void fast_rfill(char *dst, unsigned long size, char pat);
#define FAST_RFILL(dst, size, pat) fast_rfill(dst, size, pat)
static inline uint16_t bswap16_load(uint64_t addr)