- (bal) Fixed scp type casing issue which causes "scp: protocol error:
   size not delimited" fatal errors when tranfering.
diff --git a/ChangeLog b/ChangeLog
index a1426e7..183a9c6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+20010318
+ - (bal) Fixed scp type casing issue which causes "scp: protocol error: 
+   size not delimited" fatal errors when tranfering.
+
 20010317
  - Support usrinfo() on AIX. Based on patch from Gert Doering 
    <gert@greenie.muc.de>
@@ -4586,4 +4590,4 @@
  - Wrote replacements for strlcpy and mkdtemp
  - Released 1.0pre1
 
-$Id: ChangeLog,v 1.968 2001/03/17 01:15:38 mouring Exp $
+$Id: ChangeLog,v 1.969 2001/03/17 18:07:46 mouring Exp $
diff --git a/scp.c b/scp.c
index 66e46dd..27a5029 100644
--- a/scp.c
+++ b/scp.c
@@ -547,7 +547,7 @@
 #define	FILEMODEMASK	(S_ISUID|S_ISGID|S_IRWXU|S_IRWXG|S_IRWXO)
 		snprintf(buf, sizeof buf, "C%04o %lld %s\n",
 		    (u_int) (stb.st_mode & FILEMODEMASK),
-		    stb.st_size, last);
+		    (long long) stb.st_size, last);
 		if (verbose_mode) {
 			fprintf(stderr, "Sending file modes: %s", buf);
 			fflush(stderr);