mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-28 01:06:17 +00:00
- Fix build with clang 3.0
PR: 170101 Submitted by: Hung-te Liang
This commit is contained in:
parent
4953a538fe
commit
cd504b8e7b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=301565
11
ftp/vsftpd/files/patch-sysstr.c
Normal file
11
ftp/vsftpd/files/patch-sysstr.c
Normal file
@ -0,0 +1,11 @@
|
||||
--- 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:
|
Loading…
Reference in New Issue
Block a user