summaryrefslogtreecommitdiff
path: root/tls.c
diff options
context:
space:
mode:
authorMartin Pool <mbp@samba.org>2002-04-09 06:11:06 +0000
committerMartin Pool <mbp@samba.org>2002-04-09 06:11:06 +0000
commite35080cede02c640ac482debfc40d8b2de4bb58e (patch)
tree8a168506896156ba0fbd4dbc7f780cbe117cae91 /tls.c
parentce8149b6feae51c7a576b04f86003e7a4555ee14 (diff)
downloadrsync-e35080cede02c640ac482debfc40d8b2de4bb58e.tar.gz
long int and signedness fix from Nelson Beebe
Diffstat (limited to 'tls.c')
-rw-r--r--tls.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tls.c b/tls.c
index 98116871..0c310e4a 100644
--- a/tls.c
+++ b/tls.c
@@ -115,9 +115,9 @@ static void list_file (const char *fname)
/* NB: need to pass size as a double because it might be be
* too large for a long. */
- printf("%s %12.0f %6d.%-6d %6d %s %s%s\n",
+ printf("%s %12.0f %6ld.%-6ld %6d %s %s%s\n",
permbuf, (double) buf.st_size,
- buf.st_uid, buf.st_gid,
+ (long) buf.st_uid, (long) buf.st_gid,
buf.st_nlink,
datebuf, fname, linkbuf);
}