Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 May 2009 04:25:38 +0000 (UTC)
From:      Marcel Moolenaar <marcel@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r192954 - head/contrib/ee
Message-ID:  <200905280425.n4S4PcNI022540@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200905280425.n4S4PcNI022540>