aboutsummaryrefslogtreecommitdiff
path: root/ftp/vsftpd/files/patch-sysutil.c
diff options
context:
space:
mode:
Diffstat (limited to 'ftp/vsftpd/files/patch-sysutil.c')
-rw-r--r--ftp/vsftpd/files/patch-sysutil.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/ftp/vsftpd/files/patch-sysutil.c b/ftp/vsftpd/files/patch-sysutil.c
new file mode 100644
index 000000000000..2650592c9772
--- /dev/null
+++ b/ftp/vsftpd/files/patch-sysutil.c
@@ -0,0 +1,11 @@
+--- sysutil.c~ Tue Nov 11 02:37:16 2003
++++ sysutil.c Fri Nov 21 13:47:12 2003
+@@ -1403,7 +1403,7 @@
+ * more recent dates appear later in the alphabet! Most notably, we must
+ * make sure we pad to the same length with 0's
+ */
+- snprintf(intbuf, sizeof(intbuf), "%030ld", p_stat->st_mtime);
++ snprintf(intbuf, sizeof(intbuf), "%030ld", (long)p_stat->st_mtime);
+ return intbuf;
+ }
+