svn commit: r192954 - head/contrib/ee

Marcel Moolenaar marcel at FreeBSD.org
Thu May 28 04:25:39 UTC 2009


Author: marcel
Date: Thu May 28 04:25:38 2009
New Revision: 192954
URL: http://svn.freebsd.org/changeset/base/192954

Log:
  char can be unsigned, like on ARM and PowerPC. Unbreak the
  build for those by propagating the type of character from
  char to int.

Modified:
  head/contrib/ee/ee.c

Modified: head/contrib/ee/ee.c
==============================================================================
--- head/contrib/ee/ee.c	Thu May 28 04:17:05 2009	(r192953)
+++ head/contrib/ee/ee.c	Thu May 28 04:25:38 2009	(r192954)
@@ -937,7 +937,7 @@ int temp_int;
 int 
 out_char(window, character, column)	/* output non-printing character */
 WINDOW *window;
-char character;
+int character;
 int column;
 {
 	int i1, i2;
@@ -985,7 +985,7 @@ int column;
 
 int 
 len_char(character, column)	/* return the length of the character	*/
-char character;
+int character;
 int column;	/* the column must be known to provide spacing for tabs	*/
 {
 	int length;


More information about the svn-src-all mailing list