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 /sesman/chansrv/rail.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 'sesman/chansrv/rail.c')
| -rw-r--r-- | sesman/chansrv/rail.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sesman/chansrv/rail.c b/sesman/chansrv/rail.c index 36e39889..3470cece 100644 --- a/sesman/chansrv/rail.c +++ b/sesman/chansrv/rail.c @@ -184,7 +184,7 @@ rail_send_key_esc(int window_id) static struct rail_window_data* APP_CC rail_get_window_data(Window window) { - int bytes; + unsigned int bytes; Atom actual_type_return; int actual_format_return; unsigned long nitems_return; @@ -557,7 +557,7 @@ my_timeout(void* data) static int APP_CC rail_process_activate(struct stream *s, int size) { - int window_id; + unsigned int window_id; int enabled; int index; XWindowAttributes window_attributes; |
