[sane-devel] How to set a double value?

Thiago Milczarek Sayão thiago.sayao at gmail.com
Tue Mar 9 21:25:02 GMT 2021


I have a double var that represents a FIXED value as in SANE_TYPE_FIXED.

How do I pass it to sane_control_option() as void * ?

tried:
(void *) double_var
(void *) SANE_FIX(double_var)

Cheers.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/sane-devel/attachments/20210309/b2f069fd/attachment.htm>


More information about the sane-devel mailing list