Commit: 04be4fe0c0126f8816d55a7d3a8ff9e6dd27f73f
Parent: 7040dc92fc1d4fbb1eb05a520e1f2b9853ed48b0
Author: Johan Hedberg <johan.hedberg@intel.com>
Committer: Johan Hedberg <johan.hedberg@intel.com>
Date: 2012-08-15 12:20:51
Tree: 453cd117ce8c7ed4f94c8f88141a47addf15bd9b

attrib: Use proper types for size variables size_t/ssize_t/off_t/etc are more appropriate for variables denoting some kind of size than simply using int. This patch includes a couple of other related changes to avoid gcc signedness errors resulting from it treating (for whatever reason) const variables and integer literals as signed.

Diffstat

M attrib/att-database.h | 6 +++- - -
M attrib/att.c | 132 ++++++++++++++++++++++++++++++++++++++++- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
M attrib/att.h | 116 ++++++++++++++++++++++++++++++++++++++++- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
M attrib/client.c | 2 +-
M attrib/gatt.c | 43 ++++++++++++++++++++++- - - - - - - - - - - - - - - - - - - - -
M attrib/gatt.h | 3 ++-
M attrib/gattrib.c | 4 ++- -
M attrib/gattrib.h | 2 +-
M attrib/gatttool.c | 2 +-
M attrib/interactive.c | 2 +-
M profiles/thermometer/thermometer.c | 2 +-
M profiles/time/server.c | 2 +-
M src/attrib-server.c | 43 +++++++++++++++++++++++- - - - - - - - - - - - - - - - - - - -
M src/attrib-server.h | 9 +++++- - - -

14 files changed, 193 insertions(+), 175 deletions(-)

View Full Diff | Patch