Enlightenment CVS committal
Author : mej
Project : eterm
Module : libast
Dir : eterm/libast/include/libast
Modified Files:
types.h.in
Log Message:
Mon Nov 10 14:28:09 2003 Michael Jennings (mej)
Added assertions/requirements for string member functions.
Changed pointer printouts to %010p instead of %8p, since the latter
didn't account for the possibility of a leading "0x".
Fixed typos in hex_dump().
===================================================================
RCS file: /cvsroot/enlightenment/eterm/libast/include/libast/types.h.in,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -3 -r1.12 -r1.13
--- types.h.in 1 Nov 2003 18:56:43 -0000 1.12
+++ types.h.in 10 Nov 2003 19:29:18 -0000 1.13
@@ -767,7 +767,7 @@
*
* @see @link DOXGRP_TYPES Portable Data Types @endlink, spif_cmp_t
*/
-#define SPIF_CMP_FROM_INT(i) (((i) < 0) ? (SPIF_CMP_LESS) : (((i) > 0) ?
(SPIF_CMP_GREATER) : (SPIF_CMP_EQUAL)))
+#define SPIF_CMP_FROM_INT(i) ((SPIF_CAST_C(int) (i) < 0) ? (SPIF_CMP_LESS) :
((SPIF_CAST_C(int) (i) > 0) ? (SPIF_CMP_GREATER) : (SPIF_CMP_EQUAL)))
/**
* Check if a comparison value is SPIF_CMP_LESS.
-------------------------------------------------------
This SF.Net email sponsored by: ApacheCon 2003,
16-19 November in Las Vegas. Learn firsthand the latest
developments in Apache, PHP, Perl, XML, Java, MySQL,
WebDAV, and more! http://www.apachecon.com/
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs