diff options
author | thakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-01-24 19:19:19 +0000 |
---|---|---|
committer | thakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-01-24 19:19:19 +0000 |
commit | 3b17959e51578bb2fba9f22100a199c436e31d5d (patch) | |
tree | 5130f3bee375b793e1cbfa2ae4faae9d47b372ff /breakpad | |
parent | 9ddec1a87b73732fbddd6d897f0f4eabf1da8e30 (diff) | |
download | chromium_src-3b17959e51578bb2fba9f22100a199c436e31d5d.zip chromium_src-3b17959e51578bb2fba9f22100a199c436e31d5d.tar.gz chromium_src-3b17959e51578bb2fba9f22100a199c436e31d5d.tar.bz2 |
Fix clang warning / miscompile
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/6271005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@72364 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'breakpad')
-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() { |