[aravis] viewer: warning fix after buffer->data type change.
- From: Emmanuel Pacaud <emmanuel src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [aravis] viewer: warning fix after buffer->data type change.
- Date: Tue, 5 Nov 2013 07:47:42 +0000 (UTC)
commit f74574a4be6b1affeb29cabe062c7c0e011cc4c2
Author: Emmanuel Pacaud <emmanuel gnome org>
Date: Tue Nov 5 08:47:15 2013 +0100
viewer: warning fix after buffer->data type change.
viewer/arvviewer.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/viewer/arvviewer.c b/viewer/arvviewer.c
index 81efc80..1fb0f88 100644
--- a/viewer/arvviewer.c
+++ b/viewer/arvviewer.c
@@ -177,7 +177,7 @@ arv_viewer_new_buffer_cb (ArvStream *stream, ArvViewer *viewer)
GST_BUFFER_MALLOCDATA (buffer) = data;
GST_BUFFER_SIZE (buffer) = size;
} else {
- GST_BUFFER_DATA (buffer) = arv_buffer->data;
+ GST_BUFFER_DATA (buffer) = (unsigned char *) arv_buffer->data;
GST_BUFFER_MALLOCDATA (buffer) = NULL;
GST_BUFFER_SIZE (buffer) = arv_buffer->size;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]