Re: clang6: fix databases/mysqlcc

2018-04-16 Thread Theo Buehler
On Mon, Apr 16, 2018 at 02:22:58AM -0600, Anthony J. Bentley wrote: > Theo Buehler writes: > > +- (uchar**) _limit, 0, GET_ULONG, REQUIRED_ARG, 1000L, 1, ~0L, 0, > > 1 > > , 0}, > > ++ (uchar**) _limit, 0, GET_ULONG, REQUIRED_ARG, 1000L, 1, > > static_ca > > st(~0L), 0, 1, 0}, > > Would it

Re: clang6: fix databases/mysqlcc

2018-04-16 Thread Anthony J. Bentley
Theo Buehler writes: > +- (uchar**) _limit, 0, GET_ULONG, REQUIRED_ARG, 1000L, 1, ~0L, 0, 1 > , 0}, > ++ (uchar**) _limit, 0, GET_ULONG, REQUIRED_ARG, 1000L, 1, static_ca > st(~0L), 0, 1, 0}, Would it make sense to use ~0ULL instead?

clang6: fix databases/mysqlcc

2018-04-16 Thread Theo Buehler
Only need to fix these two to build: src/main.cpp:98:67: note: insert an explicit cast to silence this issue (uchar**) _limit, 0, GET_ULONG, REQUIRED_ARG, 1000L, 1, ~0L, 0, 1, 0}, ^~~