projects
/
privoxy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
e95e4f5
)
Add casting for some string functions.
author
steudten
<steudten@users.sourceforge.net>
Thu, 20 Sep 2001 16:11:06 +0000
(16:11 +0000)
committer
steudten
<steudten@users.sourceforge.net>
Thu, 20 Sep 2001 16:11:06 +0000
(16:11 +0000)
pcrs.c
patch
|
blob
|
history
diff --git
a/pcrs.c
b/pcrs.c
index
c2a4945
..
83ea4be
100644
(file)
--- a/
pcrs.c
+++ b/
pcrs.c
@@
-1,4
+1,4
@@
-const char pcrs_rcs[] = "$Id: pcrs.c,v 1.1
3 2001/09/06 14:05:59
oes Exp $";
+const char pcrs_rcs[] = "$Id: pcrs.c,v 1.1
4 2001/09/09 21:41:57
oes Exp $";
/*********************************************************************
*
/*********************************************************************
*
@@
-33,6
+33,9
@@
const char pcrs_rcs[] = "$Id: pcrs.c,v 1.13 2001/09/06 14:05:59 oes Exp $";
*
* Revisions :
* $Log: pcrs.c,v $
*
* Revisions :
* $Log: pcrs.c,v $
+ * Revision 1.14 2001/09/09 21:41:57 oes
+ * Fixing yet another silly bug
+ *
* Revision 1.13 2001/09/06 14:05:59 oes
* Fixed silly bug
*
* Revision 1.13 2001/09/06 14:05:59 oes
* Fixed silly bug
*
@@
-344,9
+347,9
@@
pcrs_substitute *pcrs_compile_replacement(const char *replacement, int trivialfl
r->block_length[l] = k - r->block_offset[l];
/* Numerical backreferences */
r->block_length[l] = k - r->block_offset[l];
/* Numerical backreferences */
- if (isdigit(replacement[i + 1]))
+ if (isdigit(
(int)
replacement[i + 1]))
{
{
- while (i < length && isdigit(replacement[++i]))
+ while (i < length && isdigit(
(int)
replacement[++i]))
{
r->backref[l] = r->backref[l] * 10 + replacement[i] - 48;
}
{
r->backref[l] = r->backref[l] * 10 + replacement[i] - 48;
}