summaryrefslogtreecommitdiffstats
path: root/src/pre.l
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2005-01-29 11:51:21 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2005-01-29 11:51:21 (GMT)
commitc635cffd1d8bcf5bcbe90ce2c3c5fc3371e01a1c (patch)
tree5d48c44b9a2f19b38592c2cb51a919ebd456c8fb /src/pre.l
parent13feb604f3aa783f927ed47df8e4c561a8d8032a (diff)
downloadDoxygen-c635cffd1d8bcf5bcbe90ce2c3c5fc3371e01a1c.zip
Doxygen-c635cffd1d8bcf5bcbe90ce2c3c5fc3371e01a1c.tar.gz
Doxygen-c635cffd1d8bcf5bcbe90ce2c3c5fc3371e01a1c.tar.bz2
Release-1.4.1-20050129
Diffstat (limited to 'src/pre.l')
-rw-r--r--src/pre.l6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/pre.l b/src/pre.l
index 8e6c7a8..fdf569d 100644
--- a/src/pre.l
+++ b/src/pre.l
@@ -402,12 +402,12 @@ static void returnCharToStream(char c)
static inline void addTillEndOfString(const QCString &expr,QCString *rest,
uint &pos,char term,QCString &arg)
{
- char cc;
+ int cc;
while ((cc=getNextChar(expr,rest,pos))!=EOF)
{
- if (cc=='\\') arg+=cc,cc=getNextChar(expr,rest,pos);
+ if (cc=='\\') arg+=(char)cc,cc=getNextChar(expr,rest,pos);
else if (cc==term) return;
- arg+=cc;
+ arg+=(char)cc;
}
}