diff options
author | Sinan Kaya <sinan.kaya@microsoft.com> | 2019-03-18 18:14:40 +0000 |
---|---|---|
committer | Sinan Kaya <sinan.kaya@microsoft.com> | 2019-03-18 18:20:39 +0000 |
commit | 0c1c24998ea177a465f7cf8649eb7ae77fcd2e77 (patch) | |
tree | abccd373384801b6c0faee0d1479fe892f9d5908 /src/pal | |
parent | d9781f1d81b06ea1562521aea6d278ca876c82ad (diff) | |
download | coreclr-0c1c24998ea177a465f7cf8649eb7ae77fcd2e77.tar.gz coreclr-0c1c24998ea177a465f7cf8649eb7ae77fcd2e77.tar.bz2 coreclr-0c1c24998ea177a465f7cf8649eb7ae77fcd2e77.zip |
Conversion issues
Diffstat (limited to 'src/pal')
-rw-r--r-- | src/pal/inc/pal.h | 4 | ||||
-rw-r--r-- | src/pal/src/thread/process.cpp | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/pal/inc/pal.h b/src/pal/inc/pal.h index 1be000ce8a..38ef778d53 100644 --- a/src/pal/inc/pal.h +++ b/src/pal/inc/pal.h @@ -475,13 +475,13 @@ PALAPI PAL_GetApplicationGroupId(); #endif -static const int MAX_DEBUGGER_TRANSPORT_PIPE_NAME_LENGTH = MAX_PATH; +static const unsigned int MAX_DEBUGGER_TRANSPORT_PIPE_NAME_LENGTH = MAX_PATH; PALIMPORT VOID PALAPI PAL_GetTransportName( - const int MAX_TRANSPORT_NAME_LENGTH, + const unsigned int MAX_TRANSPORT_NAME_LENGTH, OUT char *name, IN const char *prefix, IN DWORD id, diff --git a/src/pal/src/thread/process.cpp b/src/pal/src/thread/process.cpp index f7618cbdb9..35ac2bf442 100644 --- a/src/pal/src/thread/process.cpp +++ b/src/pal/src/thread/process.cpp @@ -2296,7 +2296,7 @@ GetProcessIdDisambiguationKey(DWORD processId, UINT64 *disambiguationKey) VOID PALAPI PAL_GetTransportName( - const int MAX_TRANSPORT_NAME_LENGTH, + const unsigned int MAX_TRANSPORT_NAME_LENGTH, OUT char *name, IN const char *prefix, IN DWORD id, @@ -2370,7 +2370,7 @@ PAL_GetTransportName( } int chars = snprintf(name, MAX_TRANSPORT_NAME_LENGTH, formatBuffer, prefix, id, disambiguationKey, suffix); - _ASSERTE(chars > 0 && chars < MAX_TRANSPORT_NAME_LENGTH); + _ASSERTE(chars > 0 && (unsigned int)chars < MAX_TRANSPORT_NAME_LENGTH); } /*++ |