Commit 679ba7c
libvncclient: fix type of csz
zlib's compress() takes a pointer to a uLong variable. uLong may be
32 bit only while size_t is 64 bit on 64 bit platforms. This causes a
compiler warning/error and potentially UB.1 parent c8e7bd2 commit 679ba7c
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1812 | 1812 | | |
1813 | 1813 | | |
1814 | 1814 | | |
1815 | | - | |
| 1815 | + | |
1816 | 1816 | | |
1817 | 1817 | | |
1818 | 1818 | | |
| |||
0 commit comments