diff options
| author | Eric Dumazet <eric.dumazet@gmail.com> | 2012-04-15 01:58:06 -0400 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2012-04-15 12:44:40 -0400 |
| commit | 95c961747284a6b83a5e2d81240e214b0fa3464d (patch) | |
| tree | c7be86a00db3605a48a03109fafcbe31039ca2e0 /net/x25 | |
| parent | 5e73ea1a31c3612aa6dfe44f864ca5b7b6a4cff9 (diff) | |
net: cleanup unsigned to unsigned int
Use of "unsigned int" is preferred to bare "unsigned" in net tree.
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/x25')
| -rw-r--r-- | net/x25/x25_facilities.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/x25/x25_facilities.c b/net/x25/x25_facilities.c index 36384a1fa9f2..66c638730c7a 100644 --- a/net/x25/x25_facilities.c +++ b/net/x25/x25_facilities.c | |||
| @@ -231,7 +231,7 @@ int x25_create_facilities(unsigned char *buffer, | |||
| 231 | } | 231 | } |
| 232 | 232 | ||
| 233 | if (dte_facs->calling_len && (facil_mask & X25_MASK_CALLING_AE)) { | 233 | if (dte_facs->calling_len && (facil_mask & X25_MASK_CALLING_AE)) { |
| 234 | unsigned bytecount = (dte_facs->calling_len + 1) >> 1; | 234 | unsigned int bytecount = (dte_facs->calling_len + 1) >> 1; |
| 235 | *p++ = X25_FAC_CALLING_AE; | 235 | *p++ = X25_FAC_CALLING_AE; |
| 236 | *p++ = 1 + bytecount; | 236 | *p++ = 1 + bytecount; |
| 237 | *p++ = dte_facs->calling_len; | 237 | *p++ = dte_facs->calling_len; |
| @@ -240,7 +240,7 @@ int x25_create_facilities(unsigned char *buffer, | |||
| 240 | } | 240 | } |
| 241 | 241 | ||
| 242 | if (dte_facs->called_len && (facil_mask & X25_MASK_CALLED_AE)) { | 242 | if (dte_facs->called_len && (facil_mask & X25_MASK_CALLED_AE)) { |
| 243 | unsigned bytecount = (dte_facs->called_len % 2) ? | 243 | unsigned int bytecount = (dte_facs->called_len % 2) ? |
| 244 | dte_facs->called_len / 2 + 1 : | 244 | dte_facs->called_len / 2 + 1 : |
| 245 | dte_facs->called_len / 2; | 245 | dte_facs->called_len / 2; |
| 246 | *p++ = X25_FAC_CALLED_AE; | 246 | *p++ = X25_FAC_CALLED_AE; |
