mirror of https://github.com/neutrinolabs/xrdp
Fix pointer sign warnings in TurboJPEG compression code
This commit is contained in:
parent
e7433ec69c
commit
077e3f5bfc
|
@ -160,12 +160,12 @@ xrdp_codec_jpeg_compress(void *handle,
|
|||
* TJPF_ARGB no works, zero bytes */
|
||||
|
||||
error = tjCompress(tj_han, /* opaque handle */
|
||||
src_ptr, /* source buf */
|
||||
(unsigned char *) src_ptr, /* source buf */
|
||||
cx, /* width of area to compress */
|
||||
stride, /* pitch */
|
||||
cy, /* height of area to compress */
|
||||
TJPF_XBGR, /* pixel size */
|
||||
out_data, /* dest buf */
|
||||
(unsigned char *) out_data, /* dest buf */
|
||||
&lio_len, /* inner_buf length & compressed_size */
|
||||
TJSAMP_420, /* jpeg sub sample */
|
||||
quality, /* jpeg quality */
|
||||
|
|
Loading…
Reference in New Issue