diff options
author | ph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15> | 2012-01-23 17:30:49 +0000 |
---|---|---|
committer | ph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15> | 2012-01-23 17:30:49 +0000 |
commit | 6d006dba3ccf59347e2eec0b2d60f6d4a1254a33 (patch) | |
tree | a7e364bd593a3a7e3a43b38697836ff8b1a87e7f /pcre_fullinfo.c | |
parent | ec7abfc6da4749a0deda01d514b353a43bdf39db (diff) | |
download | pcre-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 'pcre_fullinfo.c')
-rw-r--r-- | pcre_fullinfo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pcre_fullinfo.c b/pcre_fullinfo.c index 7bf27cd..a3d1198 100644 --- a/pcre_fullinfo.c +++ b/pcre_fullinfo.c @@ -148,7 +148,7 @@ switch (what) case PCRE_INFO_MINLENGTH: *((int *)where) = (study != NULL && (study->flags & PCRE_STUDY_MINLEN) != 0)? - study->minlength : -1; + (int)(study->minlength) : -1; break; case PCRE_INFO_JIT: |