File indent-2.2.10-warnings.diff of Package indent

--- src/output.c
+++ src/output.c
@@ -71,7 +71,7 @@
 
 RCSTAG_CC ("$Id$");
 
-static FILE            * output       = NULL;
+       FILE            * output       = NULL;
 static BOOLEAN           inhibited    = 0;
 static buf_break_st_ty * buf_break_list = NULL;
 
@@ -749,11 +749,11 @@
 
          if (s[0] == '/' && (s[1] == '*' || s[1] == '/'))
          {
-            fprintf (output, "%.*s", e_lab - s, s);
+            fprintf (output, "%.*s", (int) (e_lab - s), s);
          }
          else
          {
-            fprintf (output, "/* %.*s */", e_lab - s, s);
+            fprintf (output, "/* %.*s */", (int) (e_lab - s), s);
          }
 
         /* no need to update cur_col: the very next thing will
openSUSE Build Service is sponsored by