kopia lustrzana https://gitlab.com/sane-project/backends
Fixing compiler warnings
rodzic
7a34d599e5
commit
49d756ca44
|
@ -164,7 +164,7 @@ struct backend
|
|||
u_int loaded:1; /* are the functions available? */
|
||||
u_int inited:1; /* has the backend been initialized? */
|
||||
void *handle; /* handle returned by dlopen() */
|
||||
void *(*op[NUM_OPS]) ();
|
||||
void *(*op[NUM_OPS]) (void);
|
||||
};
|
||||
|
||||
#define BE_ENTRY(be,func) sane_##be##_##func
|
||||
|
|
|
@ -3357,7 +3357,7 @@ sane_control_option (SANE_Handle handle,
|
|||
SANE_Status status;
|
||||
|
||||
DBG(96, "sane_control_option (opt=%d,act=%d,val=%p,info=%p)\n",
|
||||
option, action, value, info);
|
||||
option, action, value, (void*) info);
|
||||
|
||||
sod = scanner->sod;
|
||||
val = scanner->val;
|
||||
|
|
|
@ -797,7 +797,7 @@ sane_control_option (SANE_Handle handle, SANE_Int option,
|
|||
|
||||
DBG (3,
|
||||
"sane_control_option: handle=%p, opt=%d, act=%d, val=%p, info=%p\n",
|
||||
handle, option, action, value, info);
|
||||
handle, option, action, value, (void*) info);
|
||||
|
||||
return dispatch_control_option (handle, option, action, value, info);
|
||||
}
|
||||
|
|
|
@ -487,7 +487,7 @@ sanei_w_device_ptr (Wire * w, SANE_Device ** v)
|
|||
DBG (3, "sanei_w_device_ptr: wire %d\n", w->io.fd);
|
||||
sanei_w_ptr (w, (void **) v, (WireCodecFunc) sanei_w_device, sizeof (**v));
|
||||
if (w->direction != WIRE_FREE)
|
||||
DBG (4, "sanei_w_device_ptr: device struct at %p\n", *v);
|
||||
DBG (4, "sanei_w_device_ptr: device struct at %p\n", (void*) *v);
|
||||
}
|
||||
|
||||
void
|
||||
|
|
Ładowanie…
Reference in New Issue