summaryrefslogtreecommitdiff
path: root/ftp/vsftpd-ext/files/patch-sysstr.c
diff options
context:
space:
mode:
Diffstat (limited to 'ftp/vsftpd-ext/files/patch-sysstr.c')
-rw-r--r--ftp/vsftpd-ext/files/patch-sysstr.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/ftp/vsftpd-ext/files/patch-sysstr.c b/ftp/vsftpd-ext/files/patch-sysstr.c
new file mode 100644
index 000000000000..1ec241549461
--- /dev/null
+++ b/ftp/vsftpd-ext/files/patch-sysstr.c
@@ -0,0 +1,11 @@
+--- sysstr.c.orig 2012-01-03 09:51:23 UTC
++++ sysstr.c
+@@ -74,7 +74,7 @@ str_chdir(const struct mystr* p_str)
+ int
+ str_open(const struct mystr* p_str, const enum EVSFSysStrOpenMode mode)
+ {
+- enum EVSFSysUtilOpenMode open_mode = kVSFSysStrOpenUnknown;
++ enum EVSFSysUtilOpenMode open_mode = (enum EVSFSysUtilOpenMode) kVSFSysStrOpenUnknown;
+ switch (mode)
+ {
+ case kVSFSysStrOpenReadOnly: