about summary refs log tree commit diff stats
path: root/WWW/Library/Implementation
diff options
context:
space:
mode:
authorThomas E. Dickey <dickey@invisible-island.net>2014-07-24 22:30:44 -0400
committerThomas E. Dickey <dickey@invisible-island.net>2014-07-24 22:30:44 -0400
commitcbe90040d54b4a8855e1b0e4355676816a4e1fd3 (patch)
treee3d6f3c19c1764e5972241ebcba2aa7b39ce2468 /WWW/Library/Implementation
parentac88d77df17bca4e43b023e20c8343b2f28f0ea7 (diff)
downloadlynx-snapshots-cbe90040d54b4a8855e1b0e4355676816a4e1fd3.tar.gz
snapshot of project "lynx", label v2-8-9dev_1b
Diffstat (limited to 'WWW/Library/Implementation')
-rw-r--r--WWW/Library/Implementation/HTFTP.c6
-rw-r--r--WWW/Library/Implementation/HTFile.c4
-rw-r--r--WWW/Library/Implementation/HTFormat.c4
-rw-r--r--WWW/Library/Implementation/HTMIME.c8
4 files changed, 11 insertions, 11 deletions
diff --git a/WWW/Library/Implementation/HTFTP.c b/WWW/Library/Implementation/HTFTP.c
index 3bab9ba3..49af1828 100644
--- a/WWW/Library/Implementation/HTFTP.c
+++ b/WWW/Library/Implementation/HTFTP.c
@@ -1,5 +1,5 @@
 /*
- * $LynxId: HTFTP.c,v 1.125 2013/11/28 11:11:05 tom Exp $
+ * $LynxId: HTFTP.c,v 1.126 2014/07/24 22:08:24 tom Exp $
  *
  *			File Transfer Protocol (FTP) Client
  *			for a WorldWideWeb browser
@@ -159,7 +159,7 @@ typedef struct _connection {
 	    tag, \
 	    entry_info->filename, \
 	    NonNull(entry_info->date), \
-	    entry_info->size))
+	    CAST_off_t(entry_info->size)))
 
 struct _HTStructured {
     const HTStructuredClass *isa;
@@ -2717,7 +2717,7 @@ static char *FormatSize(char **bufp,
 
 	HTSprintf(bufp, fmt, value);
     } else {
-	sprintf(fmt, "%" PRI_off_t, value);
+	sprintf(fmt, "%" PRI_off_t, CAST_off_t (value));
 
 	StrAllocCat(*bufp, fmt);
     }
diff --git a/WWW/Library/Implementation/HTFile.c b/WWW/Library/Implementation/HTFile.c
index 9eae85de..4b422ff0 100644
--- a/WWW/Library/Implementation/HTFile.c
+++ b/WWW/Library/Implementation/HTFile.c
@@ -1,5 +1,5 @@
 /*
- * $LynxId: HTFile.c,v 1.142 2014/02/13 18:30:01 tom Exp $
+ * $LynxId: HTFile.c,v 1.143 2014/07/24 22:08:24 tom Exp $
  *
  *			File Access				HTFile.c
  *			===========
@@ -212,7 +212,7 @@ static char *FormatSize(char **bufp,
 
 	HTSprintf0(bufp, fmt, entry);
     } else {
-	sprintf(fmt, "%" PRI_off_t, entry);
+	sprintf(fmt, "%" PRI_off_t, CAST_off_t (entry));
 
 	StrAllocCopy(*bufp, fmt);
     }
diff --git a/WWW/Library/Implementation/HTFormat.c b/WWW/Library/Implementation/HTFormat.c
index f0a667c5..f17cb947 100644
--- a/WWW/Library/Implementation/HTFormat.c
+++ b/WWW/Library/Implementation/HTFormat.c
@@ -1,5 +1,5 @@
 /*
- * $LynxId: HTFormat.c,v 1.82 2013/11/28 11:12:32 tom Exp $
+ * $LynxId: HTFormat.c,v 1.83 2014/07/24 22:08:24 tom Exp $
  *
  *		Manage different file formats			HTFormat.c
  *		=============================
@@ -884,7 +884,7 @@ int HTCopy(HTParentAnchor *anchor,
     if (anchor != 0) {
 	CTRACE((tfp, "HTCopy copied %"
 		PRI_off_t " actual, %"
-		PRI_off_t " limit\n", bytes, limit));
+		PRI_off_t " limit\n", CAST_off_t (bytes), CAST_off_t (limit)));
 	anchor->actual_length = bytes;
     }
 
diff --git a/WWW/Library/Implementation/HTMIME.c b/WWW/Library/Implementation/HTMIME.c
index 702326a6..94dd7fbf 100644
--- a/WWW/Library/Implementation/HTMIME.c
+++ b/WWW/Library/Implementation/HTMIME.c
@@ -1,5 +1,5 @@
 /*
- * $LynxId: HTMIME.c,v 1.88 2013/11/28 11:12:52 tom Exp $
+ * $LynxId: HTMIME.c,v 1.89 2014/07/24 22:08:24 tom Exp $
  *
  *			MIME Message Parse			HTMIME.c
  *			==================
@@ -580,8 +580,8 @@ static int pumpData(HTStream *me)
     CTRACE((tfp, "...end of pumpData, copied %"
 	    PRI_off_t " vs %"
 	    PRI_off_t "\n",
-	    me->anchor->actual_length,
-	    me->anchor->content_length));
+	    CAST_off_t (me->anchor->actual_length),
+	    CAST_off_t (me->anchor->content_length)));
     me->anchor->actual_length = 0;
     return HT_OK;
 }
@@ -800,7 +800,7 @@ static int dispatchField(HTStream *me)
 	if (me->anchor->content_length < 0)
 	    me->anchor->content_length = 0;
 	CTRACE((tfp, "        Converted to integer: '%" PRI_off_t "'\n",
-		me->anchor->content_length));
+		CAST_off_t (me->anchor->content_length)));
 	break;
     case miCONTENT_LOCATION:
 	HTMIME_TrimDoubleQuotes(me->value);