Fix a signed/unsigned mismatch warning; NFC.
authorAaron Ballman <aaron@aaronballman.com>
Thu, 5 Nov 2015 14:22:56 +0000 (14:22 +0000)
committerAaron Ballman <aaron@aaronballman.com>
Thu, 5 Nov 2015 14:22:56 +0000 (14:22 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@252164 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Support/Windows/Signals.inc

index 8d0b33c0838fd4b53fbf53da83c986f8eda944f4..f40ca72996a1273789506c48a131d9409acee134 100644 (file)
@@ -217,7 +217,7 @@ static bool printStackTraceWithLLVMSymbolizer(llvm::raw_ostream &OS,
   Context.ContextFlags = CONTEXT_CONTROL | CONTEXT_INTEGER;
 
   static void *StackTrace[256];
-  int Depth = 0;
+  size_t Depth = 0;
   while (fStackWalk64(NativeMachineType, hProcess, hThread, &StackFrame,
                       &Context, 0, fSymFunctionTableAccess64,
                       fSymGetModuleBase64, 0)) {