From 83ec735b859b4e59b72853d57d336b785712b202 Mon Sep 17 00:00:00 2001 From: Fabian Keil Date: Wed, 19 Aug 2009 15:28:08 +0000 Subject: [PATCH] Fix gcc45 warning in pcrs_substitute(). --- pcrs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pcrs.c b/pcrs.c index dfb47281..5ce10bd9 100644 --- a/pcrs.c +++ b/pcrs.c @@ -1,4 +1,4 @@ -const char pcrs_rcs[] = "$Id: pcrs.c,v 1.33 2009/05/19 17:44:54 fabiankeil Exp $"; +const char pcrs_rcs[] = "$Id: pcrs.c,v 1.34 2009/06/19 15:34:32 fabiankeil Exp $"; /********************************************************************* * * File : $Source: /cvsroot/ijbswa/current/pcrs.c,v $ @@ -348,7 +348,7 @@ static pcrs_substitute *pcrs_compile_replacement(const char *replacement, int tr } else /* $' or $` */ { - r->backref[l] = PCRS_MAX_SUBMATCHES + 1 - (symbol - symbols); + r->backref[l] = (int)(PCRS_MAX_SUBMATCHES + 1 - (symbol - symbols)); } i += 2; } -- 2.39.2