LibVNC / libvncserver

LibVNCServer/LibVNCClient are cross-platform C libraries that allow you to easily implement VNC server or client functionality in your program.
GNU General Public License v2.0
1.08k stars 483 forks source link

fix typo: many type mismatch #547

Closed hubenchang0515 closed 1 year ago

hubenchang0515 commented 1 year ago

width and height should be uint16 rather than int16_t

bk138 commented 1 year ago

Why and whats the effect of this PR?

hubenchang0515 commented 1 year ago

The type of width and height in X11 is uint16_t(unsigned), not int16_t(signed). I wrote the wrong type before。