Commit 2bef0948 authored by Ludovic Rousseau's avatar Ludovic Rousseau

Fix compiler warning: cast between incompatible function

hotplug_libudev.c: In function ‘HPRegisterForHotplugEvents’:
hotplug_libudev.c:769:3: warning: cast between incompatible function types from ‘void (*)(void *)’ to ‘void * (*)(void *)’ [-Wcast-function-type]
   (PCSCLITE_THREAD_FUNCTION( )) HPEstablishUSBNotifications, udev_monitor))
   ^
parent 3c80087b
......@@ -593,7 +593,7 @@ static void HPScanUSB(struct udev *udev)
}
static void HPEstablishUSBNotifications(void *arg)
static void * HPEstablishUSBNotifications(void *arg)
{
struct udev_monitor *udev_monitor = arg;
int r;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment