mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 19:51:31 -04:00
net: cleanup unsigned to unsigned int
Use of "unsigned int" is preferred to bare "unsigned" in net tree. Signed-off-by: Eric Dumazet <[email protected]> Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
parent
5e73ea1a31
commit
95c9617472
167 changed files with 461 additions and 455 deletions
|
|
@ -231,7 +231,7 @@ int x25_create_facilities(unsigned char *buffer,
|
|||
}
|
||||
|
||||
if (dte_facs->calling_len && (facil_mask & X25_MASK_CALLING_AE)) {
|
||||
unsigned bytecount = (dte_facs->calling_len + 1) >> 1;
|
||||
unsigned int bytecount = (dte_facs->calling_len + 1) >> 1;
|
||||
*p++ = X25_FAC_CALLING_AE;
|
||||
*p++ = 1 + bytecount;
|
||||
*p++ = dte_facs->calling_len;
|
||||
|
|
@ -240,7 +240,7 @@ int x25_create_facilities(unsigned char *buffer,
|
|||
}
|
||||
|
||||
if (dte_facs->called_len && (facil_mask & X25_MASK_CALLED_AE)) {
|
||||
unsigned bytecount = (dte_facs->called_len % 2) ?
|
||||
unsigned int bytecount = (dte_facs->called_len % 2) ?
|
||||
dte_facs->called_len / 2 + 1 :
|
||||
dte_facs->called_len / 2;
|
||||
*p++ = X25_FAC_CALLED_AE;
|
||||
|
|
|
|||
Loading…
Reference in a new issue