[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [aspell-user] Compile problems using gcc-3.0
From: |
Kevin Atkinson |
Subject: |
Re: [aspell-user] Compile problems using gcc-3.0 |
Date: |
Sat, 23 Jun 2001 10:23:08 -0400 (EDT) |
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/