From f250956cb2a8dca13fc0242affc225f9d6983604 Mon Sep 17 00:00:00 2001 From: Chet Ramey Date: Thu, 20 Dec 2018 11:41:58 -0500 Subject: bash-5.0-rc1 release --- examples/loadables/finfo.c | 4 ++-- examples/loadables/seq.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'examples') diff --git a/examples/loadables/finfo.c b/examples/loadables/finfo.c index 00833f68..4273aa59 100644 --- a/examples/loadables/finfo.c +++ b/examples/loadables/finfo.c @@ -336,9 +336,9 @@ int flags; } else if (flags & OPT_DEV) printf("%d\n", st->st_dev); else if (flags & OPT_INO) - printf("%d\n", st->st_ino); + printf("%lu\n", (unsigned long)st->st_ino); else if (flags & OPT_FID) - printf("%d:%ld\n", st->st_dev, st->st_ino); + printf("%d:%lu\n", st->st_dev, (unsigned long)st->st_ino); else if (flags & OPT_NLINK) printf("%d\n", st->st_nlink); else if (flags & OPT_LNKNAM) { diff --git a/examples/loadables/seq.c b/examples/loadables/seq.c index ebf12994..d8f3e0a0 100644 --- a/examples/loadables/seq.c +++ b/examples/loadables/seq.c @@ -161,7 +161,7 @@ long_double_format (char const *fmt) strcpy (ldfmt + length_modifier_offset + 1, fmt + length_modifier_offset + has_L); #else - strcpy (ldfmt + length_modifier_offset, fmt + length_modifier_offset) + strcpy (ldfmt + length_modifier_offset, fmt + length_modifier_offset); #endif return ldfmt; } -- cgit v1.2.1