Re: [Dspam-devel] Problem with cssstat

2010-11-11 Thread Benoit Izac
I wrote : > patch attached. I've got a better one which suppress the warning compilation. diff --git a/src/tools.hash_drv/cssstat.c b/src/tools.hash_drv/cssstat.c index dcf7ae2..031130b 100644 --- a/src/tools.hash_drv/cssstat.c +++ b/src/tools.hash_drv/cssstat.c @@ -137,8 +137,7 @@ int cssstat(c

Re: [Dspam-devel] Problem with cssstat

2010-11-11 Thread Stevan Bajić
On Fri, 12 Nov 2010 00:20:31 +0100 Benoit Izac wrote: > I wrote : > > > patch attached. > > I've got a better one which suppress the warning compilation. > > [dspam.patch text/x-patch (817B)] > diff --git a/src/tools.hash_drv/cssstat.c b/src/tools.hash_drv/cssstat.c > index dcf7ae2..031130b 1

Re: [Dspam-devel] Problem with cssstat

2010-11-11 Thread Benoit Izac
Stevan Bajić wrote: > On my local 32/64 bit safe version I use: >header = (hash_drv_header_t)((uintptr_t)map.addr + filepos); #include is not present in the git version I have. > I could commit your code if you want me to do so. Yes, please as it avoids a segmentation fault. Regards.

Re: [Dspam-devel] Problem with cssstat

2010-11-11 Thread Stevan Bajić
On Fri, 12 Nov 2010 02:11:56 +0100 Benoit Izac wrote: > Stevan Bajić wrote: > > > On my local 32/64 bit safe version I use: > >header = (hash_drv_header_t)((uintptr_t)map.addr + filepos); > > #include is not present in the git version I have. > Ahh. Yes. It's not in GIT on Source Forg