Skip to content

Commit

Permalink
remove &
Browse files Browse the repository at this point in the history
  • Loading branch information
noacoohen committed Apr 16, 2024
1 parent 817e87b commit 77977b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hid/hid-device.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ namespace librealsense
REALSENSE_HID_REPORT report;
#ifdef __APPLE__
unsigned char tmp_buffer[100] = { 0 };
hid_read( _hidapi_device, &tmp_buffer, _realsense_hid_report_actual_size );
hid_read( _hidapi_device, tmp_buffer, _realsense_hid_report_actual_size );
if( _realsense_hid_report_actual_size != sizeof( REALSENSE_HID_REPORT ) )
{
// for FX version<5.16 the actual struct is 32 bit, so we can not use memcpy for the whole struct
Expand Down

0 comments on commit 77977b2

Please sign in to comment.