Fixing compiler warnings

merge-requests/1/head
Mattias Ellert 2007-01-20 23:02:53 +00:00
rodzic 7a34d599e5
commit 49d756ca44
4 zmienionych plików z 4 dodań i 4 usunięć

Wyświetl plik

@ -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

Wyświetl plik

@ -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;

Wyświetl plik

@ -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);
}

Wyświetl plik

@ -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