diff --git a/doc/examples/tutorial4.c b/doc/examples/tutorial4.c index 65a708313..32b259baf 100644 --- a/doc/examples/tutorial4.c +++ b/doc/examples/tutorial4.c @@ -28,7 +28,7 @@ static void on_process(void *userdata) struct data *data = userdata; struct pw_buffer *b; struct spa_buffer *buf; - int i, c, n_frames, stride; + uint32_t i, c, n_frames, stride; int16_t *dst, val; if ((b = pw_stream_dequeue_buffer(data->stream)) == NULL) {