[prev in list] [next in list] [prev in thread] [next in thread] 

List:       aspell-user
Subject:    Re: [aspell-user] Compile problems using gcc-3.0
From:       Kevin Atkinson <kevina () users ! sourceforge ! net>
Date:       2001-06-23 14:23:08
Message-ID: Pine.LNX.4.30.0106231021570.30999-100000 () localhost ! localdomain
[Download RAW message or body]

On Fri, 22 Jun 2001, Edwin Chiu wrote:

> Fixed by doing this:
>
> Original: (readonly_ws.cc:828)
>       data_head.word_block_size = round_up(OUT.tellp() - start + 1,
>                                            page_size);
>
> Working: (readonly_ws.cc:828)
>       data_head.word_block_size = round_up(OUT.tellp() - (long int) start + 1,
>                                            page_size);

Here is a better fix.  The problem is that the constant one is an int and
not a long it so make it a long int.

data_head.word_block_size = round_up(OUT.tellp() - start + 1l
                                     page_size);

---
Kevin Atkinson
kevina at users sourceforge net
http://www.ibiblio.org/kevina/



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic