go-vgo/robotgo

`screengrab_c.h` has pointer implicit conversion behavior which will trigger warning.

Opened this issue · 0 comments

  • Robotgo version (or commit ref): 217d6cf
  • Go version: go1.23.1 darwin/arm64
  • Gcc version: Apple clang version 15.0.0 (clang-1500.3.9.4)
  • Operating system and bit: Darwin bogon 23.5.0 64-bit
  • Resolution: 1440*900
  • Can you reproduce the bug at Examples:
    • Yes (provide example code)
    • No
    • [* ] Not relevant

Description

Commit 217d6cf.
screengrab_c.h has a pointer implicit conversion behavior at line 93 (from void* to uint8_t *).
I want to add a explicit conversion to it.

BTW I am new to this project and I want to contribute to it actively.
...