diff options
Diffstat (limited to 'breakpad/linux/generate-test-dump.cc')
-rw-r--r-- | breakpad/linux/generate-test-dump.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/breakpad/linux/generate-test-dump.cc b/breakpad/linux/generate-test-dump.cc index 5827c29..f933ab4 100644 --- a/breakpad/linux/generate-test-dump.cc +++ b/breakpad/linux/generate-test-dump.cc @@ -57,7 +57,7 @@ static bool DumpCallback(const char* dump_path, const char* minidump_id, static void DoSomethingWhichCrashes() { int local_var = 1; - *reinterpret_cast<char*>(NULL) = 1; + *reinterpret_cast<volatile char*>(NULL) = 1; } int main() { |