diff options
author | Alexey Kardashevskiy <aik@ozlabs.ru> | 2021-01-27 19:37:55 +1100 |
---|---|---|
committer | Alexey Kardashevskiy <aik@ozlabs.ru> | 2021-02-12 13:46:16 +1100 |
commit | 73cb04d7df4eec3ae294e90d85b8b436a9bf1846 (patch) | |
tree | 603ec1c4d7125e2f07b7d01c9f58657fb70b04e8 /lib | |
parent | 071a09ef070a5eff57c7548be5cdb1bb76c68c23 (diff) | |
download | SLOF-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 'lib')
-rw-r--r-- | lib/libhvcall/rfill.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libhvcall/rfill.c b/lib/libhvcall/rfill.c index 5407cd2..377fb89 100644 --- a/lib/libhvcall/rfill.c +++ b/lib/libhvcall/rfill.c @@ -23,7 +23,7 @@ typedef unsigned long type_u; * local buffer - and that caused stack size problems in engine() when * we used it directly in the FAST_RFILL macro. */ -void fast_rfill(char *dst, long size, char pat) +void fast_rfill(char *dst, unsigned long size, char pat) { type_u buf[64]; |