diff options
author | David Schleef <ds@schleef.org> | 2003-07-01 02:27:06 +0000 |
---|---|---|
committer | David Schleef <ds@schleef.org> | 2003-07-01 02:27:06 +0000 |
commit | 9aa6e282df34160016130a8e769075b889b80dec (patch) | |
tree | a9cd109cec4f74b82ca02be553bcadacd2861320 | |
parent | f4a7caa418d3a283392b1142fe9863ae870ce3b8 (diff) | |
download | gst-plugins-bad-9aa6e282df34160016130a8e769075b889b80dec.tar.gz gst-plugins-bad-9aa6e282df34160016130a8e769075b889b80dec.tar.bz2 gst-plugins-bad-9aa6e282df34160016130a8e769075b889b80dec.zip |
fix type punning
Original commit message from CVS:
fix type punning
-rw-r--r-- | ext/jack/gstjack.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/jack/gstjack.c b/ext/jack/gstjack.c index 68d07753..8db6c56b 100644 --- a/ext/jack/gstjack.c +++ b/ext/jack/gstjack.c @@ -424,7 +424,7 @@ gst_jack_loop (GstElement *element) GstJack *this; GList *pads; gint len, peeked_len; - gchar *peeked; + guint8 *peeked; gint avail; GstEvent *event; GstJackPad *pad; @@ -445,7 +445,7 @@ gst_jack_loop (GstElement *element) pad->bs = gst_bytestream_new (pad->pad); read: - peeked_len = gst_bytestream_peek_bytes (pad->bs, (guint8**)&peeked, len); + peeked_len = gst_bytestream_peek_bytes (pad->bs, &peeked, len); if (peeked_len < len) { gst_bytestream_get_status(pad->bs, &avail, &event); if (event) { |