Re: regcomp warnings using Mingw64 toolchain

2012-06-17 Thread Paul Eggert
On 06/17/2012 07:00 AM, Bruno Haible wrote: > For portability the cast to 'long' should better be replaced with a cast > to 'intptr_t'. Thanks, I did that, except I used uintptr_t since the value in question is a size_t value. regex: avoid warning when pointers are not long * lib/regcomp.c (parse

Re: regcomp warnings using Mingw64 toolchain

2012-06-17 Thread Bruno Haible
Hi Paul, Daniel P. Berrange wrote: > While on x86_64-w64-mingw32 only I see: > > > In file included from ../../../gnulib/lib/regex.c:69:0: > ../../../gnulib/lib/regcomp.c: In function 'parse_dup_op': > ../../../gnulib/lib/regcomp.c:2624:39: warning: cast to pointer from integer > of different s