From 77977b26dfd388585dc2acce0ace8a3621b6bf54 Mon Sep 17 00:00:00 2001 From: noacoohen Date: Tue, 16 Apr 2024 14:13:58 +0300 Subject: [PATCH] remove & --- src/hid/hid-device.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hid/hid-device.cpp b/src/hid/hid-device.cpp index f370855811..12e03dd946 100644 --- a/src/hid/hid-device.cpp +++ b/src/hid/hid-device.cpp @@ -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