projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
net: cleanup unsigned to unsigned int
[GitHub/mt8127/android_kernel_alcatel_ttab.git]
/
net
/
rose
/
rose_subr.c
diff --git
a/net/rose/rose_subr.c
b/net/rose/rose_subr.c
index 47f1fdb346b01b3e15461b71a64a5f953fdaec7f..7ca57741b2fbbbc8f5ccf139f5ffbe56b969c458 100644
(file)
--- 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,
facilities_len = *p++;
- if (facilities_len == 0 || (unsigned)facilities_len > packet_len)
+ if (facilities_len == 0 || (unsigned
int
)facilities_len > packet_len)
return 0;
while (facilities_len >= 3 && *p == 0x00) {