summaryrefslogtreecommitdiff
path: root/src/sim/process_impl.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/sim/process_impl.hh')
-rw-r--r--src/sim/process_impl.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sim/process_impl.hh b/src/sim/process_impl.hh
index a3519fe39..9d12113d0 100644
--- a/src/sim/process_impl.hh
+++ b/src/sim/process_impl.hh
@@ -55,7 +55,7 @@ copyStringArray(std::vector<std::string> &strings,
TranslatingPort* memPort)
{
AddrType data_ptr_swap;
- for (int i = 0; i < strings.size(); ++i) {
+ for (std::vector<std::string>::size_type i = 0; i < strings.size(); ++i) {
data_ptr_swap = htog(data_ptr);
memPort->writeBlob(array_ptr, (uint8_t*)&data_ptr_swap,
sizeof(AddrType));