opnsense-ports/ftp/vsftpd/files/patch-sysstr.c
Franco Fichtner 4c56fffa04 */*: sync with upstream
Taken from: FreeBSD
2017-01-31 09:03:53 +01:00

11 lines
400 B
C

--- sysstr.c.orig 2011-12-14 10:26:39 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: