Author: Armin Rigo <ar...@tunes.org>
Branch: static-callback-embedding
Changeset: r2569:c91000e0af90
Date: 2016-01-12 18:41 +0100
http://bitbucket.org/cffi/cffi/changeset/c91000e0af90/

Log:    fix

diff --git a/testing/embedding/thread-test.h b/testing/embedding/thread-test.h
--- a/testing/embedding/thread-test.h
+++ b/testing/embedding/thread-test.h
@@ -32,12 +32,12 @@
 
 int sem_post(sem_t *sem)
 {
-    return ReleaseSemaphore(*res, 1, NULL) ? 0 : -1;
+    return ReleaseSemaphore(*sem, 1, NULL) ? 0 : -1;
 }
 
 int sem_wait(sem_t *sem)
 {
-    WaitForSingleObject(*res, INFINITE);
+    WaitForSingleObject(*sem, INFINITE);
     return 0;
 }
 
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to