libopkg: fix pkg_set_int(), pkg_get_int()
authorJo-Philipp Wich <jo@mein.io>
Sat, 18 Feb 2017 13:35:53 +0000 (14:35 +0100)
committerJo-Philipp Wich <jo@mein.io>
Sat, 18 Feb 2017 13:35:53 +0000 (14:35 +0100)
commit77dae8e058210d64a67b3bab37c1044f3c66cc52
tree40705a626b1181898c688bd670023eebfe7a23db
parent16b176283f668177e3bdd0a13caf88f1b6f2f476
libopkg: fix pkg_set_int(), pkg_get_int()

Fix the return values of pkg_get_int() and pkg_set_int() to properly
convert the pointers from/to integer values.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
libopkg/pkg.h