summaryrefslogtreecommitdiff
path: root/src/unwinder
diff options
context:
space:
mode:
authorAdeel <adeelbm@outlook.com>2019-02-24 12:14:06 -0800
committerAdeel <adeelbm@outlook.com>2019-02-24 15:53:32 -0800
commitdc19f81f05dd2559af329c528c2f04e869d8ef1e (patch)
treea61fb44fa2b31ec85e2daf9e670f01a6c4f97e59 /src/unwinder
parent333232d98639df980133205c41791cb9dc7f3d34 (diff)
downloadcoreclr-dc19f81f05dd2559af329c528c2f04e869d8ef1e.tar.gz
coreclr-dc19f81f05dd2559af329c528c2f04e869d8ef1e.tar.bz2
coreclr-dc19f81f05dd2559af329c528c2f04e869d8ef1e.zip
Fix comparison and narrowing errors reported by GCC
Diffstat (limited to 'src/unwinder')
-rw-r--r--src/unwinder/amd64/unwinder_amd64.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/unwinder/amd64/unwinder_amd64.cpp b/src/unwinder/amd64/unwinder_amd64.cpp
index 65da7862a5..8d989d4095 100644
--- a/src/unwinder/amd64/unwinder_amd64.cpp
+++ b/src/unwinder/amd64/unwinder_amd64.cpp
@@ -134,7 +134,7 @@ public:
UCHAR operator[](int index)
{
int realIndex = m_offset + index;
- UNWINDER_ASSERT(realIndex < sizeof(m_buffer));
+ UNWINDER_ASSERT(realIndex < (int)sizeof(m_buffer));
return m_buffer[realIndex];
}
};