opnsense-ports/ftp/vsftpd/files/patch-sysstr.c
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

11 lines
411 B
C

--- sysstr.c.orig 2011-12-14 18:26:39.000000000 +0800
+++ sysstr.c 2012-07-24 11:27:18.000000000 +0800
@@ -74,7 +74,7 @@
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: