mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] isdn: fix gcc data type/size warning
@ 2005-03-03  5:50 Randy.Dunlap
  0 siblings, 0 replies; only message in thread
From: Randy.Dunlap @ 2005-03-03  5:50 UTC (permalink / raw)
  To: kkeil, akpm; +Cc: lkml

(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++;
 	


---

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

only message in thread, other threads:[~2005-03-03  6:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-03-03  5:50 [PATCH] isdn: fix gcc data type/size warning Randy.Dunlap

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®