diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2017-12-14 16:55:10 +0100 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2017-12-14 16:55:10 +0100 |
commit | 98ab313fe496ae7c792db29c80bf6b23347484ff (patch) | |
tree | 3e140e51f430a422b6dd4568fec4884c280b6876 /src/reggnu.c | |
parent | b62fc1758f4ae8459e6d7e8386ca547274b4daa2 (diff) |
New upstream version 6.7.0upstream/6.7.0
Diffstat (limited to 'src/reggnu.c')
-rw-r--r-- | src/reggnu.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/reggnu.c b/src/reggnu.c index 1de82fb..50eb9b4 100644 --- a/src/reggnu.c +++ b/src/reggnu.c @@ -2,7 +2,7 @@ reggnu.c - Oniguruma (regular expression library) **********************************************************************/ /*- - * Copyright (c) 2002-2008 K.Kosako <sndgk393 AT ybb DOT ne DOT jp> + * Copyright (c) 2002-2017 K.Kosako <sndgk393 AT ybb DOT ne DOT jp> * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -54,7 +54,7 @@ re_adjust_startpos(regex_t* reg, const char* string, int size, else { p = ONIGENC_LEFT_ADJUST_CHAR_HEAD(reg->enc, (UChar* )string, s); } - return p - (UChar* )string; + return (int )(p - (UChar* )string); } return startpos; |