Enable -Wconversion

This commit is contained in:
Nicolas Werner 2022-10-26 01:10:35 +02:00
parent 5be8298d0a
commit b28fa86e6a
No known key found for this signature in database
GPG key ID: C8D75E610773F2D9
23 changed files with 102 additions and 78 deletions

View file

@ -61,7 +61,7 @@ stacktraceHandler(int signum)
// see
// https://stackoverflow.com/questions/77005/how-to-automatically-generate-a-stacktrace-when-my-program-crashes/77336#77336
void *array[50];
size_t size;
int size;
// get void*'s for all entries on the stack
size = backtrace(array, 50);