aboutsummaryrefslogtreecommitdiffstats
path: root/net/rose/rose_subr.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/rose/rose_subr.c')
-rw-r--r--net/rose/rose_subr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/rose/rose_subr.c b/net/rose/rose_subr.c
index 47f1fdb346b0..7ca57741b2fb 100644
--- a/net/rose/rose_subr.c
+++ b/net/rose/rose_subr.c
@@ -399,7 +399,7 @@ int rose_parse_facilities(unsigned char *p, unsigned packet_len,
399 399
400 facilities_len = *p++; 400 facilities_len = *p++;
401 401
402 if (facilities_len == 0 || (unsigned)facilities_len > packet_len) 402 if (facilities_len == 0 || (unsigned int)facilities_len > packet_len)
403 return 0; 403 return 0;
404 404
405 while (facilities_len >= 3 && *p == 0x00) { 405 while (facilities_len >= 3 && *p == 0x00) {