Fix some -Wconversion warnings.
Bug: 21161908
Change-Id: If8d1703c9773eaaed5ea2557833cde32ced97bff
diff --git a/executor/xeBatchResult.cpp b/executor/xeBatchResult.cpp
index 4a8f7e4..be4d8db 100644
--- a/executor/xeBatchResult.cpp
+++ b/executor/xeBatchResult.cpp
@@ -37,10 +37,10 @@
{
}
-void InfoLog::append (const deUint8* bytes, int numBytes)
+void InfoLog::append (const deUint8* bytes, size_t numBytes)
{
DE_ASSERT(numBytes > 0);
- int oldSize = (int)m_data.size();
+ const size_t oldSize = m_data.size();
m_data.resize(oldSize+numBytes);
deMemcpy(&m_data[oldSize], bytes, numBytes);
}