diff options
| author | Pavel Roskin <plroskin@gmail.com> | 2016-06-21 16:30:19 -0700 |
|---|---|---|
| committer | Pavel Roskin <plroskin@gmail.com> | 2016-07-08 04:29:51 +0000 |
| commit | d1efb0d5baa661367b0fe74130457cb932a66e3b (patch) | |
| tree | 0627bc5debad713d40cefc7ad16dc8afa750bc7f /rdp/rdp_rdp.c | |
| parent | 5829323ad88f8120730968cfe165e590a7fb2d59 (diff) | |
| download | xrdp-proprietary-d1efb0d5baa661367b0fe74130457cb932a66e3b.tar.gz xrdp-proprietary-d1efb0d5baa661367b0fe74130457cb932a66e3b.zip | |
Fix signed to unsigned comparisons reported by g++ 6.1.0
Diffstat (limited to 'rdp/rdp_rdp.c')
| -rw-r--r-- | rdp/rdp_rdp.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/rdp/rdp_rdp.c b/rdp/rdp_rdp.c index cede7b02..1e7952c5 100644 --- a/rdp/rdp_rdp.c +++ b/rdp/rdp_rdp.c @@ -415,9 +415,9 @@ rdp_rdp_send_confirm_active(struct rdp_rdp *self, struct stream *s) static int APP_CC rdp_rdp_process_color_pointer_pdu(struct rdp_rdp *self, struct stream *s) { - int cache_idx; - int dlen; - int mlen; + unsigned int cache_idx; + unsigned int dlen; + unsigned int mlen; struct rdp_cursor *cursor; in_uint16_le(s, cache_idx); |
