pcre: On at least win64, the pointer is returned as an int and is

negative. Cast it to a uint and everything works. Fixes #1105.
db4
Doug Coleman 2014-07-10 16:22:45 -07:00
parent 3ad3e33006
commit 452567f7d0
1 changed files with 1 additions and 1 deletions

View File

@ -60,7 +60,7 @@ ERROR: pcre-error value ;
: name-table ( pcre extra -- addr )
[ drop alien-address 32 on-bits unmask ]
[ PCRE_INFO_NAMETABLE pcre-fullinfo ] 2bi + ;
[ PCRE_INFO_NAMETABLE pcre-fullinfo int <ref> uint deref ] 2bi + ;
: name-entry-size ( pcre extra -- size )
PCRE_INFO_NAMEENTRYSIZE pcre-fullinfo ;