1
0
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:
Dirk Meyer 2012-07-26 15:30:27 +00:00
parent 4953a538fe
commit cd504b8e7b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=301565

View 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: