From: "Randy.Dunlap" <rddunlap@osdl.org>
To: kkeil@suse.de, akpm <akpm@osdl.org>
Cc: lkml <linux-kernel@vger.kernel.org>
Subject: [PATCH] isdn: fix gcc data type/size warning
Date: Wed, 2 Mar 2005 21:50:05 -0800 [thread overview]
Message-ID: <20050302215005.690e2daf.rddunlap@osdl.org> (raw)
(resend)
Fix gcc warning:
drivers/isdn/i4l/isdn_ppp.c:1581: warning: large integer implicitly truncated to unsigned type
<seq> is unsigned int.
Signed-off-by: Randy Dunlap <rddunlap@osdl.org>
diffstat:=
drivers/isdn/i4l/isdn_ppp.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
diff -Naurp ./drivers/isdn/i4l/isdn_ppp.c~isdn_types ./drivers/isdn/i4l/isdn_ppp.c
--- ./drivers/isdn/i4l/isdn_ppp.c~isdn_types 2004-12-24 13:35:01.000000000 -0800
+++ ./drivers/isdn/i4l/isdn_ppp.c 2005-01-10 12:27:37.645551176 -0800
@@ -1578,7 +1578,7 @@ static int isdn_ppp_mp_init( isdn_net_lo
lp->next = lp->last = lp; /* nobody else in a queue */
lp->netdev->pb->frags = NULL;
lp->netdev->pb->frames = 0;
- lp->netdev->pb->seq = LONG_MAX;
+ lp->netdev->pb->seq = UINT_MAX;
}
lp->netdev->pb->ref_ct++;
---
reply other threads:[~2005-03-03 6:18 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=20050302215005.690e2daf.rddunlap@osdl.org \
--to=rddunlap@osdl.org \
--cc=akpm@osdl.org \
--cc=kkeil@suse.de \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®