summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorPavel Roskin <plroskin@gmail.com>2016-06-21 16:30:19 -0700
committerPavel Roskin <plroskin@gmail.com>2016-07-08 04:29:51 +0000
commitd1efb0d5baa661367b0fe74130457cb932a66e3b (patch)
tree0627bc5debad713d40cefc7ad16dc8afa750bc7f /common
parent5829323ad88f8120730968cfe165e590a7fb2d59 (diff)
downloadxrdp-proprietary-d1efb0d5baa661367b0fe74130457cb932a66e3b.tar.gz
xrdp-proprietary-d1efb0d5baa661367b0fe74130457cb932a66e3b.zip
Fix signed to unsigned comparisons reported by g++ 6.1.0
Diffstat (limited to 'common')
-rw-r--r--common/os_calls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/os_calls.c b/common/os_calls.c
index 7d932a10..6ad7a78d 100644
--- a/common/os_calls.c
+++ b/common/os_calls.c
@@ -2213,7 +2213,7 @@ g_strdup(const char *in)
char *APP_CC
g_strndup(const char *in, const unsigned int maxlen)
{
- int len;
+ unsigned int len;
char *p;
if (in == 0)