Correcting enum values mentioned in comments.
[oota-llvm.git] / include / llvm / Support / GCOV.h
index 45d5fa042574dd945ecd4f4642690c978d071e01..e552315f4558ca700da6f6de15dd7a7af05fea8d 100644 (file)
@@ -130,7 +130,7 @@ public:
     StringRef Str = Buffer->getBuffer().slice(Cursor, Cursor+4);
     assert (Str.empty() == false && "Unexpected memory buffer end!");
     Cursor += 4;
-    Result = *(uint32_t *)(Str.data());
+    Result = *(const uint32_t *)(Str.data());
     return Result;
   }