diff -ru ../../w2/mpegedit_v2.2/MpegCodec/frame.C ./MpegCodec/frame.C
--- ../../w2/mpegedit_v2.2/MpegCodec/frame.C	Sat May 20 12:14:48 1995
+++ ./MpegCodec/frame.C	Wed Oct 16 14:17:03 1996
@@ -25,6 +25,7 @@
 #include "frame.H"
 #include <string.h>
 #include <iostream.h>
+#include <sys/param.h>
 
 #ifndef NO_INET
   #include <netinet/in.h>
diff -ru ../../w2/mpegedit_v2.2/MpegCodec/mpeg.C ./MpegCodec/mpeg.C
--- ../../w2/mpegedit_v2.2/MpegCodec/mpeg.C	Sat May 20 14:19:44 1995
+++ ./MpegCodec/mpeg.C	Wed Oct 16 14:17:28 1996
@@ -890,7 +890,7 @@
  *
  *--------------------------------------------------------------
  */
-Mpeg::status Mpeg::Insert(int no_of_frames, const frame **f_array)
+Mpeg::status Mpeg::Insert(int no_of_frames, frame **f_array)
 {
   Fstruct Fs;
   TempFrame TF;
diff -ru ../../w2/mpegedit_v2.2/MpegCodec/mpeg.H ./MpegCodec/mpeg.H
--- ../../w2/mpegedit_v2.2/MpegCodec/mpeg.H	Sat May 20 12:11:43 1995
+++ ./MpegCodec/mpeg.H	Wed Oct 16 14:17:17 1996
@@ -59,7 +59,7 @@
   status Write(const frame &);      // Overwrites the current frame
   status Undo(void);                // Undoes the last write to current frame
   status Delete(void);              // Deletes current frame
-  status Insert(int no_of_frames,const frame **);
+  status Insert(int no_of_frames, frame **);
                                     // Inserts a number of frames
   unsigned int Height(void) const;  // Returns the height of the frames
   unsigned int Width(void) const;   // Returns the width of the frames
diff -ru ../../w2/mpegedit_v2.2/editor/2x2_window.C ./editor/2x2_window.C
--- ../../w2/mpegedit_v2.2/editor/2x2_window.C	Mon May  8 09:08:35 1995
+++ ./editor/2x2_window.C	Wed Oct 16 14:32:42 1996
@@ -363,7 +363,7 @@
 {
   assert(Frame.width()==ximage->width/2);
   assert(Frame.height()==ximage->height/2);
-  DitherImage(Frame.lum_ptr(),Frame.Cr_ptr(),Frame.Cb_ptr(),ximage->data,
+  DitherImage(Frame.lum_ptr(),Frame.Cr_ptr(),Frame.Cb_ptr(),(unsigned char *)ximage->data,
 	      Frame.width(),Frame.height());
   if(nicely)
     {
diff -ru ../../w2/mpegedit_v2.2/editor/bw_window.C ./editor/bw_window.C
--- ../../w2/mpegedit_v2.2/editor/bw_window.C	Mon May  8 09:15:00 1995
+++ ./editor/bw_window.C	Wed Oct 16 14:43:40 1996
@@ -213,7 +213,7 @@
 {
   assert(Frame.width()==ximage->width);
   assert(Frame.height()==ximage->height);
-  DitherImage(Frame.lum_ptr(),ximage->data,ximage->height,ximage->width);
+  DitherImage(Frame.lum_ptr(),(unsigned char*)ximage->data,ximage->height,ximage->width);
   if(nicely)
     {
       XEvent Event;
diff -ru ../../w2/mpegedit_v2.2/editor/colour_window.C ./editor/colour_window.C
--- ../../w2/mpegedit_v2.2/editor/colour_window.C	Tue May  9 14:41:30 1995
+++ ./editor/colour_window.C	Wed Oct 16 14:46:03 1996
@@ -359,7 +359,7 @@
 {
   assert(Frame.width()==ximage->width);
   assert(Frame.height()==ximage->height);
-  DitherImage(Frame.lum_ptr(),Frame.Cr_ptr(),Frame.Cb_ptr(),ximage->data,
+  DitherImage(Frame.lum_ptr(),Frame.Cr_ptr(),Frame.Cb_ptr(),(unsigned char *)ximage->data,
 	      Frame.width(),Frame.height());
   if(nicely)
     {
diff -ru ../../w2/mpegedit_v2.2/editor/mono_window.C ./editor/mono_window.C
--- ../../w2/mpegedit_v2.2/editor/mono_window.C	Sat May 20 10:47:32 1995
+++ ./editor/mono_window.C	Wed Oct 16 14:38:16 1996
@@ -254,7 +254,7 @@
 {
   assert(Frame.width()==ximage->width);
   assert(Frame.height()==ximage->height);
-  DitherImage(Frame.lum_ptr(),ximage->data,ximage->width*ximage->height);
+  DitherImage(Frame.lum_ptr(),(unsigned char *)ximage->data,ximage->width*ximage->height);
   if(nicely)
     {
       XEvent Event;
diff -ru ../../w2/mpegedit_v2.2/editor/tiny_window.C ./editor/tiny_window.C
--- ../../w2/mpegedit_v2.2/editor/tiny_window.C	Mon May  8 09:09:07 1995
+++ ./editor/tiny_window.C	Wed Oct 16 14:45:10 1996
@@ -254,7 +254,7 @@
 {
   assert(Frame.width()/2==ximage->width);
   assert(Frame.height()/2==ximage->height);
-  DitherImage(Frame.lum_ptr(),ximage->data,ximage->height,ximage->width);
+  DitherImage(Frame.lum_ptr(),(unsigned char *)ximage->data,ximage->height,ximage->width);
   if(nicely)
     {
       XEvent Event;
