Index: sys/waveform/gstwaveformsink.c
===================================================================
--- sys/waveform/gstwaveformsink.c	(revision 70)
+++ sys/waveform/gstwaveformsink.c	(working copy)
@@ -500,7 +500,7 @@
     memcpy (waveheader->lpData + waveheader->dwUser, data, bytes_to_write);
     waveheader->dwUser += bytes_to_write;
     remaining_length -= bytes_to_write;
-    data = (byte *) data + bytes_to_write;
+    data = (BYTE *) data + bytes_to_write;
 
     if (waveheader->dwUser == wfsink->buffer_size) {
       /* we have filled a buffer, let's prepare it and next write it to the device */
