bindings: python: fix a warning
authorBartosz Golaszewski <bartekgola@gmail.com>
Wed, 6 Jun 2018 15:01:44 +0000 (17:01 +0200)
committerBartosz Golaszewski <bartekgola@gmail.com>
Thu, 7 Jun 2018 07:27:54 +0000 (09:27 +0200)
commit3c660a3ec524b52c6f51fb4ffe2b2388c2b0f845
tree6d0ac1db380b4c84b321e886d2d0dd7b3314c4ac
parente421f0d7767b9e184861d493e5f7358ea7b9ead3
bindings: python: fix a warning

On some architectures we get a 'comparison between signed and unsigned
integer' warning when building python bindings. Fix it by changing the
type of the variable used for offset to unsigned int.

Signed-off-by: Bartosz Golaszewski <bartekgola@gmail.com>
bindings/python/gpiodmodule.c