mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-01 12:46:12 +00:00
d/psmv: Fix build
This commit is contained in:
parent
a54cdb2632
commit
e7e550fa8d
|
@ -1413,7 +1413,7 @@ psmv_get_calibration_zcm2(struct psmv_device *psmv)
|
|||
|
||||
if (ret != (int)sizeof(part)) {
|
||||
PSMV_ERROR(psmv, "Size wrong: %i != %i", ret,
|
||||
(int)sizeof(*part));
|
||||
(int)sizeof(part));
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
@ -1427,7 +1427,7 @@ psmv_get_calibration_zcm2(struct psmv_device *psmv)
|
|||
dst_offset = sizeof(part);
|
||||
break;
|
||||
default:
|
||||
PSMV_ERROR(psmv, "Unexpected part id! %i", part->which);
|
||||
PSMV_ERROR(psmv, "Unexpected part id! %i", part.which);
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue