Skip to content

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

Open
@xuehaonan27

Description

@xuehaonan27
  • 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.
...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions