changeset 7574:9669b69e34ef

define mxLogical as unsigned char instead of int
author John W. Eaton <jwe@octave.org>
date Mon, 10 Mar 2008 13:10:10 -0400
parents 755bf7ecc29b
children d20a2f261306
files src/ChangeLog src/mxarray.h.in
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Sat Mar 08 10:14:37 2008 -0500
+++ b/src/ChangeLog	Mon Mar 10 13:10:10 2008 -0400
@@ -1,3 +1,8 @@
+2008-03-10  John W. Eaton  <jwe@octave.org>
+
+	* mxarray.h.in (mxLogical): Use unsigned char instead of int.
+	From Antwerpen, G. (Gert) van <gert.vanantwerpen@tno.nl>.
+
 2008-03-07  John W. Eaton  <jwe@octave.org>
 
 	* ov-struct.cc (octave_struct::print_raw): Don't print contents fo
--- a/src/mxarray.h.in	Sat Mar 08 10:14:37 2008 -0500
+++ b/src/mxarray.h.in	Mon Mar 10 13:10:10 2008 -0400
@@ -75,7 +75,7 @@
   }
   mxClassID;
 
-typedef int mxLogical;
+typedef unsigned char mxLogical;
 
 /* typedef Uint16 mxChar; */
 typedef char mxChar;