summaryrefslogtreecommitdiff
path: root/pcregrep.c
diff options
context:
space:
mode:
authorph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15>2012-01-23 17:30:49 +0000
committerph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15>2012-01-23 17:30:49 +0000
commit6d006dba3ccf59347e2eec0b2d60f6d4a1254a33 (patch)
treea7e364bd593a3a7e3a43b38697836ff8b1a87e7f /pcregrep.c
parentec7abfc6da4749a0deda01d514b353a43bdf39db (diff)
downloadpcre-6d006dba3ccf59347e2eec0b2d60f6d4a1254a33.tar.gz
Additional casts to avoid compiler warnings, originally from a MS compiler, but
also given by gcc if you turn on enough warnings. git-svn-id: svn://vcs.exim.org/pcre/code/trunk@904 2f5784b3-3f2a-0410-8824-cb99058d5e15
Diffstat (limited to 'pcregrep.c')
-rw-r--r--pcregrep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pcregrep.c b/pcregrep.c
index 10504be..02cfc1f 100644
--- a/pcregrep.c
+++ b/pcregrep.c
@@ -625,7 +625,7 @@ Arguments:
Returns: the number of characters read, zero at end of file
*/
-static int
+static unsigned int
read_one_line(char *buffer, int length, FILE *f)
{
int c;