Fixes for warnings from Jenkins reports.

This commit is contained in:
David Garske
2018-07-27 11:04:10 -07:00
parent 4eff7b641b
commit 6a91fbcfdd
2 changed files with 3 additions and 2 deletions

View File

@ -421,7 +421,7 @@ err_sys(const char* msg)
if (msg) if (msg)
#endif #endif
{ {
XEXIT((THREAD_RETURN)EXIT_FAILURE); XEXIT_T(EXIT_FAILURE);
} }
} }

View File

@ -95,7 +95,7 @@
typedef struct memoryTrack { typedef struct memoryTrack {
union { union {
memHint hint; memHint hint;
byte alignit[sizeof(memHint) + (16-1 & ~(16-1))]; /* make sure we have strong alignment */ byte alignit[sizeof(memHint) + ((16-1) & ~(16-1))]; /* make sure we have strong alignment */
} u; } u;
} memoryTrack; } memoryTrack;
@ -263,6 +263,7 @@
(void)line; (void)line;
#endif #endif
#endif #endif
(void)sz;
free(mt); free(mt);
} }