Update to new code

This commit is contained in:
Nils O. Selåsdal
2013-01-02 21:21:15 +01:00
parent 3e7fd8a34b
commit 22d15ea1a1
2 changed files with 10 additions and 2 deletions
+1 -1
View File
@@ -18,7 +18,7 @@ void *reader(void *arg)
for (i = 0; i < CNT/2; i++) {
struct uc_threadmsg *msg;
struct my_msg *my;
if (uc_thread_queue_get(&queue, NULL, &msg) != 0) {
if (uc_thread_queue_get(&queue, &msg) != 0) {
printf("uc_threadqueue_get failed\n");
return NULL;
}