23 lines
819 B
Diff
23 lines
819 B
Diff
From 12766ec99d128a919044e5b98b7521ef614de9e0 Mon Sep 17 00:00:00 2001
|
|
From: Luigi 'Comio' Mantellini <luigi.mantellini@gmail.com>
|
|
Date: Mon, 24 Mar 2014 08:36:24 +0100
|
|
Subject: [PATCH] Don't compare signed with unsigned.
|
|
|
|
---
|
|
Foundation/src/Logger.cpp | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/Foundation/src/Logger.cpp b/Foundation/src/Logger.cpp
|
|
index 6037bf9..78afdfc 100644
|
|
--- a/Foundation/src/Logger.cpp
|
|
+++ b/Foundation/src/Logger.cpp
|
|
@@ -245,7 +245,7 @@ void Logger::formatDump(std::string& message, const void* buffer, std::size_t le
|
|
message.reserve(message.size() + length*6);
|
|
if (!message.empty()) message.append("\n");
|
|
unsigned char* base = (unsigned char*) buffer;
|
|
- int addr = 0;
|
|
+ std::size_t addr = 0;
|
|
while (addr < length)
|
|
{
|
|
if (addr > 0) message.append("\n");
|