~mingw-w64/pthreads-w32/w64-patch

« back to all changes in this revision

Viewing changes to tests/spin3.c

  • Committer: Dmitrijs Ledkovs
  • Date: 2010-07-10 23:05:44 UTC
  • Revision ID: dmitrij.ledkov@ubuntu.com-20100710230544-0chw8836ltmwkm6r
W64 patch

Show diffs side-by-side

added added

removed removed

Lines of Context:
46
46
 
47
47
void * unlocker(void * arg)
48
48
{
49
 
  int expectedResult = (int) arg;
 
49
  int expectedResult = (int) (size_t) arg;
50
50
 
51
51
  wasHere++;
52
52
  assert(pthread_spin_unlock(&spin) == expectedResult);