linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* linux-2.4.0-test7 bug
@ 2000-11-05 18:09 Maciej Hrebien
  0 siblings, 0 replies; only message in thread
From: Maciej Hrebien @ 2000-11-05 18:09 UTC (permalink / raw)
  To: linux-kernel

Hi,

Compiling linux kernel using gcc-2.95.2 I've received some errors in emd.c
file. That was in 145 line and similar bug in 264 line.

gcc has problems with binary - :

int part = (page_address(page) + PAGE_CACHE_SIZE) - p->spare;

I think that there must be explicit casting to int, like this:

int part = (int)(page_address(page) + PAGE_CACHE_SIZE) - (int)p->spare;

and there won't be errors in compile time.

BFN
            Maciej Hrebien


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2000-11-05 18:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-11-05 18:09 linux-2.4.0-test7 bug Maciej Hrebien

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).