changeset 751:28c78bdbca44

Mods to make irix 5 lint happy.
author neelin <neelin>
date Thu, 09 Feb 1995 14:05:51 +0000
parents 8d6675fff39e
children 4b28650e0869
files progs/mincresample/Makefile progs/mincresample/mincresample.c
diffstat 2 files changed, 10 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/progs/mincresample/Makefile
+++ b/progs/mincresample/Makefile
@@ -43,7 +43,7 @@
 $(PROG_OBJ) $(LINT_LIST) $(EXTRA_OBJS) $(LINT_EXTRA) : Makefile
 
 .c.ln:#                                   defines the rule for creating .ln
-	lint $(LINTFLAGS) -c $< -o $@
+	$(LINT) $(LINTFLAGS) -c $< -o $@
 
 .c.o:#                                    defines the rule for creating .o
 	$(CC) $(CFLAGS) -c $< -o $@
@@ -61,7 +61,8 @@
 lint: $(LINT_LIST_EXE)
 
 $(LINT_LIST_EXE) : $(TARGET_IN_DEPENDENCY)ln $(LINT_EXTRA) $(LINT_PROG_LIB) $(LINT_MINC_LIB)
-	lint -u $(LINTFLAGS) $@ln $(LINT_EXTRA) $(LINT_PROG_LIB) $(LINT_MINC_LIB)
+	$(LINT) $(LINT_PROGOPTS) $(LINTFLAGS) $@ln $(LINT_EXTRA) \
+	      $(LINT_PROG_LIB) $(LINT_MINC_LIB)
 
 # how to make man pages
 .man1.1:
--- a/progs/mincresample/mincresample.c
+++ b/progs/mincresample/mincresample.c
@@ -10,9 +10,12 @@
 @CALLS      : 
 @CREATED    : February 8, 1993 (Peter Neelin)
 @MODIFIED   : $Log: mincresample.c,v $
-@MODIFIED   : Revision 2.1  1995-02-08 19:31:47  neelin
-@MODIFIED   : Moved ARGSUSED statements for irix 5 lint.
+@MODIFIED   : Revision 2.2  1995-02-09 14:05:51  neelin
+@MODIFIED   : Mods to make irix 5 lint happy.
 @MODIFIED   :
+ * Revision 2.1  1995/02/08  19:31:47  neelin
+ * Moved ARGSUSED statements for irix 5 lint.
+ *
  * Revision 2.0  1994/09/28  10:32:46  neelin
  * Release of minc version 0.2
  *
@@ -74,7 +77,7 @@
 ---------------------------------------------------------------------------- */
 
 #ifndef lint
-static char rcsid[]="$Header: /private-cvsroot/minc/progs/mincresample/mincresample.c,v 2.1 1995-02-08 19:31:47 neelin Exp $";
+static char rcsid[]="$Header: /private-cvsroot/minc/progs/mincresample/mincresample.c,v 2.2 1995-02-09 14:05:51 neelin Exp $";
 #endif
 
 #include <stdlib.h>
@@ -1440,7 +1443,7 @@
             REALLOC(transform_info->file_contents, 
                     transform_info->buffer_length);
       }
-      transform_info->file_contents[index] = ch;
+      transform_info->file_contents[index] = (char) ch;
    }
    transform_info->file_contents[index] = '\0';
    rewind(fp);