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:
Bill Currie 2022-07-26 21:36:56 +09:00
parent 2c8bec27c7
commit 732ea3a5fd
8 changed files with 22 additions and 26 deletions

View file

@ -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);