diff options
author | Paul Kocialkowski <contact@paulk.fr> | 2014-02-23 11:19:39 +0100 |
---|---|---|
committer | Paul Kocialkowski <contact@paulk.fr> | 2014-02-23 11:19:39 +0100 |
commit | 121ae6d21c18dd79ed1dc7df4c86a681d70a337a (patch) | |
tree | 2283270e9681cbd589c6f61e0ac28eb2cb9e8d33 /samsung-ipc/ipc_devices.c | |
parent | 420519cbbaf40fb2af8295f8eb7a80d281b0933d (diff) | |
download | external_libsamsung-ipc-121ae6d21c18dd79ed1dc7df4c86a681d70a337a.zip external_libsamsung-ipc-121ae6d21c18dd79ed1dc7df4c86a681d70a337a.tar.gz external_libsamsung-ipc-121ae6d21c18dd79ed1dc7df4c86a681d70a337a.tar.bz2 |
ipc_devices: Proper type for count and index
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
Diffstat (limited to 'samsung-ipc/ipc_devices.c')
-rw-r--r-- | samsung-ipc/ipc_devices.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/samsung-ipc/ipc_devices.c b/samsung-ipc/ipc_devices.c index ee97f77..fc2c226 100644 --- a/samsung-ipc/ipc_devices.c +++ b/samsung-ipc/ipc_devices.c @@ -136,6 +136,7 @@ struct ipc_device_desc ipc_devices[] = { }, }; -int ipc_devices_count = sizeof(ipc_devices) / sizeof(struct ipc_device_desc); +unsigned int ipc_devices_count = sizeof(ipc_devices) / + sizeof(struct ipc_device_desc); // vim:ts=4:sw=4:expandtab |