From 332123f2b6892c09635ba00de8bf20901e224dea Mon Sep 17 00:00:00 2001 From: Ruediger Meier Date: Wed, 26 Oct 2016 20:44:15 +0200 Subject: misc: fix some compiler warnings libsmartcols/samples/fromfile.c:59:2: warning: passing argument 3 of 'string_to_bitmask' from incompatible pointer type text-utils/pg.c:79:0: warning: "TABSIZE" redefined libblkid/src/read.c:455:13: warning: 'debug_dump_dev' defined but not used [-Wunused-function] libblkid/src/probe.c:769:13: warning: unused function 'cdrom_size_correction' [-Wunused-function] /usr/include/sys/termios.h:3:2: warning: "this file includes which is deprecated, use instead" [-W#warnings] Signed-off-by: Ruediger Meier --- libsmartcols/samples/fromfile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libsmartcols') diff --git a/libsmartcols/samples/fromfile.c b/libsmartcols/samples/fromfile.c index fcf01c749..a2a22a4cd 100644 --- a/libsmartcols/samples/fromfile.c +++ b/libsmartcols/samples/fromfile.c @@ -38,7 +38,7 @@ static const struct column_flag flags[] = { { "none", 0 } }; -static long name_to_flag(const char *name, long unsigned int namesz) +static long name_to_flag(const char *name, size_t namesz) { size_t i; -- cgit v1.2.3-55-g7522