All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Maciej Hrebien" <m_hrebien@poczta.onet.pl>
To: <linux-kernel@vger.kernel.org>
Subject: linux-2.4.0-test7 bug
Date: Sun, 5 Nov 2000 19:09:12 +0100	[thread overview]
Message-ID: <002001c04753$818e05c0$0b00a8c0@Standard> (raw)

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/

                 reply	other threads:[~2000-11-05 18:08 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='002001c04753$818e05c0$0b00a8c0@Standard' \
    --to=m_hrebien@poczta.onet.pl \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.