From 25807f170879cb04cec6d335f25e2d39c378c9d6 Mon Sep 17 00:00:00 2001 From: aldot Date: Mon, 22 Jan 2007 17:48:08 +0000 Subject: - the archivers expect mode to be a mode_t, so do not trip signed/unsigned conversion purposefully git-svn-id: svn://busybox.net/trunk/busybox@17467 69ca8d6d-28ef-0310-b511-8ec308f3f277 --- libbb/mode_string.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libbb') diff --git a/libbb/mode_string.c b/libbb/mode_string.c index 01029bfee..d3ff18375 100644 --- a/libbb/mode_string.c +++ b/libbb/mode_string.c @@ -51,7 +51,7 @@ static const char type_chars[16] = "?pc?d?b?-?l?s???"; /* 0123456789abcdef */ static const char mode_chars[7] = "rwxSTst"; -const char *bb_mode_string(int mode) +const char *bb_mode_string(mode_t mode) { static char buf[12]; char *p = buf; @@ -91,7 +91,7 @@ static const char type_chars[16] = "?pc?d?b?-?l?s???"; /* 0123456789abcdef */ static const char mode_chars[7] = "rwxSTst"; -const char *bb_mode_string(int mode) +const char *bb_mode_string(mode_t mode) { static char buf[12]; char *p = buf; -- cgit v1.2.3-55-g6feb