[PATCH] isdn: fix gcc data type/size warning
From: Randy.Dunlap
Date: Thu Mar 03 2005 - 01:22:49 EST
(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@xxxxxxxx>
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++;
---
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/