drivers, examples: Don't use -Wno-pointer-sign and fix relative errors

This commit is contained in:
Marco Trevisan (Treviño)
2019-12-04 16:06:24 +01:00
parent a29586f398
commit e7c7f368c9
5 changed files with 5 additions and 6 deletions
+1 -1
View File
@@ -375,7 +375,7 @@ read_msg_cb (FpiUsbTransfer *transfer, FpDevice *device,
goto err;
}
if (strncmp (udata->buffer, "Ciao", 4) != 0)
if (strncmp ((char *) udata->buffer, "Ciao", 4) != 0)
{
fp_err ("no Ciao for you!!");
error = fpi_device_error_new_msg (FP_DEVICE_ERROR_PROTO,