[sane-devel] Compiling sane-backends CVS 2003/10/22 on OS/2

Julien BLACHE jb at jblache.org
Wed Oct 22 17:47:26 BST 2003


"Franz Bakan" <fbakan at gmx.net> wrote:

Hi,

>>> 4. saned.c
>>
>>Can you provide a fix for that?
>
> Don't know, I will try. OS/2 has no IP_6...

It's not an IPv6 problem ;) The function is called check_v4_in_range()
for a reason :)

Well, could you change in_addr_t on line 611 to some unsigned 32bit
integer ?

That means :
-in_addr_t mask;
+u_int32_t mask; /* or similar, depending on what kind of integers
                    you've got on OS/2 */

in_addr_t is nothing else than an unsigned 32bit integer, so...

I'll commit that to CVS in a moment.

JB.

-- 
Julien BLACHE                                   <http://www.jblache.org> 
<jb at jblache.org> 




More information about the sane-devel mailing list