File mjpegtools-getopt.patch of Package mjpegtools

---
 y4mdenoise/main.c                |    2 +-
 yuvdeinterlace/yuvdeinterlace.cc |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

--- a/y4mdenoise/main.c
+++ b/y4mdenoise/main.c
@@ -261,7 +261,7 @@ int main(int argc, char *argv[])
 void
 process_commandline(int argc, char *argv[])
 {
-  char c;
+  int c;
 
   while ((c = getopt (argc, argv, "h?z:Z:t:T:r:R:m:M:f:BI:p:v:i:")) != -1)	// HACK
   {
--- a/yuvdeinterlace/yuvdeinterlace.cc
+++ b/yuvdeinterlace/yuvdeinterlace.cc
@@ -845,7 +845,7 @@ main (int argc, char *argv[])
 
   deinterlacer YUVdeint;
 
-  char c;
+  int c;
 
   YUVdeint.field_order = -1;