elm_atspi_bridge: Use narrower index types 36/290036/1 accepted/tizen/unified/20230321.123225
authorArtur Świgoń <a.swigon@samsung.com>
Fri, 17 Mar 2023 11:39:16 +0000 (12:39 +0100)
committerArtur Świgoń <a.swigon@samsung.com>
Fri, 17 Mar 2023 11:42:11 +0000 (12:42 +0100)
commit772379edd9d6fc1e1fb2c4e7d0e30d673d66754d
tree7f277fbe11b4a1cccf58be35730ed83cc1860b9a
parent22f766aa97d24e10c0e89583513f6cb2312365be
elm_atspi_bridge: Use narrower index types

This patch changes `long` to `int` for indices. They either come from other
`int`-typed variables or from the literal value zero, and are further passed
to functions which expect an `int` parameter (possibly unsigned, but values
nearing 2^31 are purely theoretical, so it should never be a problem).

Change-Id: I5b110f308cd63b692b3f616f2d999e5e6b56cb09
src/lib/elementary/elm_atspi_bridge.c