You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucy.apache.org by ma...@apache.org on 2009/09/07 05:27:46 UTC
svn commit: r811982 -
/lucene/lucy/trunk/charmonizer/src/Charmonizer/Probe/Integers.charm
Author: marvin
Date: Mon Sep 7 03:27:46 2009
New Revision: 811982
URL: http://svn.apache.org/viewvc?rev=811982&view=rev
Log:
Fix a bug where on certain platforms i8_t was defined as an unsigned type
(those where char is unsigned by default).
Modified:
lucene/lucy/trunk/charmonizer/src/Charmonizer/Probe/Integers.charm
Modified: lucene/lucy/trunk/charmonizer/src/Charmonizer/Probe/Integers.charm
URL: http://svn.apache.org/viewvc/lucene/lucy/trunk/charmonizer/src/Charmonizer/Probe/Integers.charm?rev=811982&r1=811981&r2=811982&view=diff
==============================================================================
--- lucene/lucy/trunk/charmonizer/src/Charmonizer/Probe/Integers.charm (original)
+++ lucene/lucy/trunk/charmonizer/src/Charmonizer/Probe/Integers.charm Mon Sep 7 03:27:46 2009
@@ -212,7 +212,7 @@
if (has_8) {
append_conf(
"#define CHY_HAS_I8_T\n"
- "typedef char chy_i8_t;\n"
+ "typedef signed char chy_i8_t;\n"
"typedef unsigned char chy_u8_t;\n"
"#define CHY_I8_MAX 0x7F\n"
"#define CHY_I8_MIN (-I8_MAX - 1)\n"