Mikel Astiz
abc5de8f4e
Bluetooth: Use unsigned int instead of signed int
...
The involved values are all unsigned and thus unsigned int should be
used instead of signed int. Assigning ~0 to a signed int results in -1,
which is confusing and error-prone, while the code is trying to set the
maximum value possible.
The code still works because the C standard defines that unsigned
comparison will be performed in these cases, when comparing an unsigned
int and a signed int.
Signed-off-by: Mikel Astiz <mikel.astiz.oss@gmail.com >
Acked-by: Marcel Holtmann <marcel@holtmann.org >
Signed-off-by: Gustavo Padovan <gustavo@padovan.org >
2012-05-09 01:40:31 -03:00
..
2012-04-15 12:44:40 -04:00
2012-04-20 21:22:30 -04:00
2012-04-02 04:33:44 -04:00
2012-04-20 21:22:30 -04:00
2012-04-15 12:44:40 -04:00
2012-04-23 23:15:17 -04:00
2012-04-18 09:54:02 +02:00
2012-05-09 01:40:31 -03:00
2012-05-08 19:36:47 +02:00
2012-04-15 12:44:40 -04:00
2012-04-16 21:08:18 +02:00
2012-04-27 00:03:34 -04:00
2012-05-08 19:40:56 +02:00
2012-04-25 19:47:17 -04:00
2012-04-20 21:22:30 -04:00
2012-04-20 21:22:29 -04:00
2012-04-15 12:44:40 -04:00
2011-11-29 00:21:36 -05:00
2012-04-21 15:52:25 -04:00
2012-04-15 12:44:40 -04:00
2012-05-07 23:35:40 -04:00
2012-05-08 20:25:42 +02:00
2012-05-08 20:25:42 +02:00
2012-04-20 21:22:30 -04:00
2012-04-20 21:22:30 -04:00
2012-03-22 18:15:32 -07:00
2012-04-15 12:44:40 -04:00
2012-05-07 23:35:40 -04:00
2012-03-28 18:30:03 +01:00
2012-04-23 22:28:28 -04:00
2012-05-08 21:53:59 -04:00
2012-05-08 19:44:42 +02:00
2012-03-22 19:29:57 -04:00
2012-04-24 00:35:14 -04:00
2012-04-20 21:22:30 -04:00
2012-04-18 14:27:48 -04:00
2012-04-15 12:44:40 -04:00
2012-04-21 16:36:42 -04:00
2012-04-20 21:22:30 -04:00
2012-04-21 15:52:25 -04:00
2012-03-11 14:27:37 -04:00
2012-04-20 21:22:30 -04:00
2012-04-15 12:44:40 -04:00
2012-05-07 23:35:40 -04:00
2012-04-23 22:28:28 -04:00
2012-05-07 23:35:40 -04:00
2012-04-30 15:53:56 -04:00
2012-04-25 20:46:59 -04:00
2011-11-07 13:27:30 -05:00
2012-04-15 12:44:40 -04:00
2012-05-08 21:53:59 -04:00
2012-04-23 22:28:28 -04:00
2012-04-20 21:22:30 -04:00
2012-04-15 12:44:40 -04:00
2011-12-03 09:35:17 -08:00
2011-12-03 09:35:17 -08:00
2012-04-21 16:24:20 -04:00
2012-04-20 21:22:30 -04:00