fix type punning
authorDavid Schleef <ds@schleef.org>
Tue, 1 Jul 2003 02:27:06 +0000 (02:27 +0000)
committerDavid Schleef <ds@schleef.org>
Tue, 1 Jul 2003 02:27:06 +0000 (02:27 +0000)
Original commit message from CVS:
fix type punning

ext/jack/gstjack.c

index 68d0775..8db6c56 100644 (file)
@@ -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) {