Chromium Code Reviews| Index: ui/aura/window_unittest.cc |
| diff --git a/ui/aura/window_unittest.cc b/ui/aura/window_unittest.cc |
| index e41a39170573ce80e8c23ba72ccb879994f5e445..7406406a29b28c9d26d9bf03be2f421c546b9a0b 100644 |
| --- a/ui/aura/window_unittest.cc |
| +++ b/ui/aura/window_unittest.cc |
| @@ -4,6 +4,8 @@ |
| #include "ui/aura/window.h" |
| +#include <inttypes.h> |
| + |
| #include "base/basictypes.h" |
| #include "base/compiler_specific.h" |
| #include "base/stringprintf.h" |
| @@ -884,7 +886,7 @@ class WindowObserverTest : public WindowTest, |
| // OnPropertyChanged callback. |
| std::string PropertyChangeInfoAndClear() { |
| std::string result( |
| - base::StringPrintf("name=%s old=%ld new=%ld", |
|
Daniel Erat
2011/11/11 00:25:57
this was breaking compilation for 32-bit. i'm not
|
| + base::StringPrintf("name=%s old=%" PRIdPTR " new=%" PRIdPTR, |
| property_name_.c_str(), |
| old_property_value_, |
| new_property_value_)); |