Fix a narrowing warning due to a type mismatch (size_t vs uint64).
[oota-llvm.git] / include / llvm / Transforms / Utils / ASanStackFrameLayout.h
index d39088ccb4acb13f1b100bd2f13a53887873df0e..f5437208f91f68cd327e941f4cdaaeaed7bef8b7 100644 (file)
@@ -29,7 +29,7 @@ static const int kAsanStackRightRedzoneMagic = 0xf3;
 struct ASanStackVariableDescription {
   const char *Name;  // Name of the variable that will be displayed by asan
                      // if a stack-related bug is reported.
-  size_t Size;       // Size of the variable in bytes.
+  uint64_t Size;     // Size of the variable in bytes.
   size_t Alignment;  // Alignment of the variable (power of 2).
   AllocaInst *AI;    // The actual AllocaInst.
   size_t Offset;     // Offset from the beginning of the frame;