Code cleanup

This commit is contained in:
Mark Riddoch
2015-02-16 09:21:11 +00:00
parent 7a9419e4ba
commit d7da8c5297
2 changed files with 1 additions and 3 deletions

View File

@ -89,7 +89,7 @@ int main(int argc, char* argv[])
goto return_err;
}
thr = (thread_t*)calloc(1, nthr*sizeof(thread_t*));
thr = (thread_t **)calloc(1, nthr*sizeof(thread_t*));
if (thr == NULL)
{
@ -585,7 +585,6 @@ static void* thr_run_morelog(
void* data)
{
thread_t* td = (thread_t *)data;
char* logstr;
int err;
int i;
int nmsg;