summaryrefslogtreecommitdiffstats
path: root/libsmartcols
diff options
context:
space:
mode:
authorRuediger Meier2016-10-26 20:44:15 +0200
committerRuediger Meier2016-10-27 11:03:24 +0200
commit332123f2b6892c09635ba00de8bf20901e224dea (patch)
treef7e21985608509041a2131c5eb7b57b76a4bcad9 /libsmartcols
parentchrt: fix HAVE_SCHED_SETATTR fallback case (diff)
downloadkernel-qcow2-util-linux-332123f2b6892c09635ba00de8bf20901e224dea.tar.gz
kernel-qcow2-util-linux-332123f2b6892c09635ba00de8bf20901e224dea.tar.xz
kernel-qcow2-util-linux-332123f2b6892c09635ba00de8bf20901e224dea.zip
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 <sys/termios.h> which is deprecated, use <termios.h> instead" [-W#warnings] Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
Diffstat (limited to 'libsmartcols')
-rw-r--r--libsmartcols/samples/fromfile.c2
1 files changed, 1 insertions, 1 deletions
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;