[sane-devel] (patch) Small fixes for canon630u, coolscan and microtek2
Petter Reinholdtsen
pere at hungry.com
Fri Oct 4 15:16:12 BST 2002
[Frank Zago]
> What's the point of this one?
If sizeof(size_t) is bigger then sizeof(u_int32_t), than the call to
sanei_scsi_cmd() will write outside the space allocated for
ms->n_control_bytes. If it is smaller, the value in
ms->n_control_bytes will be wrong. It only work as it should if
size_t and u_int32_t is the same type. This is not the case on 64-bit
machines.
More information about the sane-devel
mailing list