lib: allow setting float variables as integers
authorRémi Denis-Courmont <remi@remlab.net>
Tue, 19 Aug 2014 18:44:08 +0000 (21:44 +0300)
committerRémi Denis-Courmont <remi@remlab.net>
Tue, 19 Aug 2014 18:45:17 +0000 (21:45 +0300)
commit30838535efe0f42b483e517fef0113998318696e
tree4483c870e03b6d583d9264166223aa1f7ddf5cc7
parent06f474e2a4b747576e3a09cdeb5ee51bccce9659
lib: allow setting float variables as integers

Just convert to/from float on the fly. That enables backward compatibility
for setting/getting adjust hue as an interger (next commit).
lib/video.c