about summary refs log tree commit diff stats
path: root/WWW/Library/Implementation/HTFile.c
diff options
context:
space:
mode:
authorThomas E. Dickey <dickey@invisible-island.net>1999-05-08 17:58:27 -0400
committerThomas E. Dickey <dickey@invisible-island.net>1999-05-08 17:58:27 -0400
commit169e8098be76947e6e1aa002052d9536dc9aa273 (patch)
treea9a81460d41a2d7485184d8ffc423ac9869f2432 /WWW/Library/Implementation/HTFile.c
parent3a66727fc66003224d7c99d15a12f04fdf706ff4 (diff)
downloadlynx-snapshots-169e8098be76947e6e1aa002052d9536dc9aa273.tar.gz
snapshot of project "lynx", label v2-8-2pre_2
Diffstat (limited to 'WWW/Library/Implementation/HTFile.c')
-rw-r--r--WWW/Library/Implementation/HTFile.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/WWW/Library/Implementation/HTFile.c b/WWW/Library/Implementation/HTFile.c
index c90c63d1..43910104 100644
--- a/WWW/Library/Implementation/HTFile.c
+++ b/WWW/Library/Implementation/HTFile.c
@@ -325,7 +325,7 @@ PRIVATE void LYListFmtParse ARGS5(
 			break;
 
 		case 's':	/* size in bytes */
-			FormatNum(&buf, start, st.st_size);
+			FormatNum(&buf, start, (int) st.st_size);
 			break;
 
 		case 'K':	/* size in Kilobytes but not for directories */
@@ -335,7 +335,7 @@ PRIVATE void LYListFmtParse ARGS5(
 			}
 			/* FALL THROUGH */
 		case 'k':	/* size in Kilobytes */
-			FormatNum(&buf, start, (st.st_size+1023)/1024);
+			FormatNum(&buf, start, (int)((st.st_size+1023)/1024));
 			StrAllocCat(buf, "K");
 			break;
 
@@ -374,7 +374,7 @@ PRIVATE void LYListFmtParse ARGS5(
 			if (*name) {
 				FormatStr(&buf, start, name);
 			} else {
-				FormatNum(&buf, start, st.st_uid);
+				FormatNum(&buf, start, (int) st.st_uid);
 			}
 			break;
 
@@ -383,12 +383,12 @@ PRIVATE void LYListFmtParse ARGS5(
 			if (*name) {
 				FormatStr(&buf, start, name);
 			} else {
-				FormatNum(&buf, start, st.st_gid);
+				FormatNum(&buf, start, (int) st.st_gid);
 			}
 			break;
 
 		case 'l':	/* link count */
-			FormatNum(&buf, start, st.st_nlink);
+			FormatNum(&buf, start, (int) st.st_nlink);
 			break;
 
 		case '%':	/* literal % with flags/width */