Skip to content

Commit

Permalink
fix threadCnt spelling.
Browse files Browse the repository at this point in the history
  • Loading branch information
malbrain committed Jan 3, 2019
1 parent cb67ba9 commit 588b627
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion readerwriter.c
Original file line number Diff line number Diff line change
Expand Up @@ -502,7 +502,7 @@ HANDLE *threads;
}

#ifdef unix
threads = malloc(ThreadCnt * sizeof(pthread_t));
threads = malloc(threadCnt * sizeof(pthread_t));
#else
threads = GlobalAlloc(GMEM_FIXED | GMEM_ZEROINIT, threadCnt * sizeof(HANDLE));
#endif
Expand Down

0 comments on commit 588b627

Please sign in to comment.