From a82cc0a86cd78dddff03e4bc4bbb8d95a1ab908d Mon Sep 17 00:00:00 2001 From: Tristan Matthews Date: Tue, 18 Feb 2014 13:30:25 -0500 Subject: [PATCH 1/2] capture_client: remove unnecessary pthread_set_cancel_type --- example-clients/capture_client.c | 1 - 1 file changed, 1 deletion(-) diff --git a/example-clients/capture_client.c b/example-clients/capture_client.c index 94bc272..e409a69 100644 --- a/example-clients/capture_client.c +++ b/example-clients/capture_client.c @@ -79,7 +79,6 @@ disk_thread (void *arg) size_t bytes_per_frame = samples_per_frame * sample_size; void *framebuf = malloc (bytes_per_frame); - pthread_setcanceltype (PTHREAD_CANCEL_ASYNCHRONOUS, NULL); pthread_mutex_lock (&disk_thread_lock); info->status = 0; From b467dfe5e8e69396903139f28ea44d57b3c4dadd Mon Sep 17 00:00:00 2001 From: Tristan Matthews Date: Tue, 18 Feb 2014 13:32:15 -0500 Subject: [PATCH 2/2] capture_client: fix sign comparison warnings --- example-clients/capture_client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example-clients/capture_client.c b/example-clients/capture_client.c index e409a69..5402cf1 100644 --- a/example-clients/capture_client.c +++ b/example-clients/capture_client.c @@ -121,7 +121,7 @@ disk_thread (void *arg) static int process (jack_nframes_t nframes, void *arg) { - int chn; + unsigned chn; size_t i; jack_thread_info_t *info = (jack_thread_info_t *) arg;