Slamtec / rplidar_ros

BSD 2-Clause "Simplified" License
497 stars 532 forks source link

Fix narrowing int to unsigned long issue #72

Closed Gilaadb closed 1 year ago

Gilaadb commented 2 years ago

replace wait() function return type from unsigned long to int to match the enum values it returns (current possible values are -1 0 and 1)

Fixes Slamtec/rplidar_ros#56

tpreclik commented 1 year ago

Please merge this MR otherwise build fails for me on Debian Bullseye.