[llvm] r252164 - Fix a signed/unsigned mismatch warning; NFC.

Aaron Ballman via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 5 06:22:56 PST 2015


Author: aaronballman
Date: Thu Nov  5 08:22:56 2015
New Revision: 252164

URL: http://llvm.org/viewvc/llvm-project?rev=252164&view=rev
Log:
Fix a signed/unsigned mismatch warning; NFC.

Modified:
    llvm/trunk/lib/Support/Windows/Signals.inc

Modified: llvm/trunk/lib/Support/Windows/Signals.inc
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Support/Windows/Signals.inc?rev=252164&r1=252163&r2=252164&view=diff
==============================================================================
--- llvm/trunk/lib/Support/Windows/Signals.inc (original)
+++ llvm/trunk/lib/Support/Windows/Signals.inc Thu Nov  5 08:22:56 2015
@@ -217,7 +217,7 @@ static bool printStackTraceWithLLVMSymbo
   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)) {




More information about the llvm-commits mailing list