aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@ximian.com>2001-06-20 00:58:09 +0800
committerChris Lahey <clahey@src.gnome.org>2001-06-20 00:58:09 +0800
commit2e156596a6e8099c3f540ca362b1415613ed30dd (patch)
tree29e0896ecb9e2e072b30028e260c14b072616317
parent3674905a0ef5c72fb20f185a792ebfa6bfb361d6 (diff)
downloadgsoc2013-evolution-2e156596a6e8099c3f540ca362b1415613ed30dd.tar.gz
gsoc2013-evolution-2e156596a6e8099c3f540ca362b1415613ed30dd.tar.zst
gsoc2013-evolution-2e156596a6e8099c3f540ca362b1415613ed30dd.zip
Changed buf to an int here. (lexGetQuotedPrintable): Changed cur to an int
2001-06-19 Christopher James Lahey <clahey@ximian.com> * libversit/vcc.y (LexBuf): Changed buf to an int here. (lexGetQuotedPrintable): Changed cur to an int here. svn path=/trunk/; revision=10292
-rw-r--r--ChangeLog5
-rw-r--r--libversit/vcc.y10
2 files changed, 10 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog
index 6b9ca54477..1e65ccbc05 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2001-06-19 Christopher James Lahey <clahey@ximian.com>
+
+ * libversit/vcc.y (LexBuf): Changed buf to an int here.
+ (lexGetQuotedPrintable): Changed cur to an int here.
+
2001-06-18 Dan Winship <danw@ximian.com>
* configure.in: Add "--with-db3" to fill in both
diff --git a/libversit/vcc.y b/libversit/vcc.y
index 5c093c8044..4cf92c5a3f 100644
--- a/libversit/vcc.y
+++ b/libversit/vcc.y
@@ -511,11 +511,11 @@ struct LexBuf {
unsigned long curPos;
unsigned long inputLen;
/* lookahead buffer */
- /* -- lookahead buffer is short instead of char so that EOF
+ /* -- lookahead buffer is int instead of char so that EOF
/ can be represented correctly.
*/
unsigned long len;
- short buf[MAX_LEX_LOOKAHEAD];
+ int buf[MAX_LEX_LOOKAHEAD];
unsigned long getPtr;
/* context stack */
unsigned long lexModeStackTop;
@@ -988,7 +988,7 @@ static int match_begin_end_name(int end) {
static char* lexGetQuotedPrintable()
{
- char cur;
+ int cur;
lexClearToken();
do {
@@ -1032,13 +1032,13 @@ static char* lexGetQuotedPrintable()
lexPushLookaheadc(cur);
goto EndString;
}
- case (char)EOF:
+ case EOF:
break;
default:
lexAppendc(cur);
break;
} /* switch */
- } while (cur != (char)EOF);
+ } while (cur != EOF);
EndString:
lexAppendc(0);