diff --git a/example-clients/capture_client.c b/example-clients/capture_client.c index 94bc272..5402cf1 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; @@ -122,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;