mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-05-31 00:30:57 +00:00
Fix a bunch of issues for clang
One *actual* error (wrong enum type), and some memory alignment issues. The rest just clang being lame.
This commit is contained in:
parent
2c8bec27c7
commit
732ea3a5fd
8 changed files with 22 additions and 26 deletions
|
@ -231,6 +231,7 @@ ED_ParseEpair (progs_t *pr, pr_type_t *base, pr_def_t *key, const char *s)
|
|||
break;
|
||||
|
||||
case ev_vector:
|
||||
(void)0;//FIXME for clang
|
||||
vec3_t vec = {};
|
||||
char *str = alloca (strlen (s) + 1);
|
||||
strcpy (str, s);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue