Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(394)

Unified Diff: ui/events/ozone/evdev/event_device_test_util.cc

Issue 1210203002: ozone: evdev: Fix printf format string issues on 32-bit (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | ui/events/ozone/evdev/touch_noise/touch_noise_finder_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/events/ozone/evdev/event_device_test_util.cc
diff --git a/ui/events/ozone/evdev/event_device_test_util.cc b/ui/events/ozone/evdev/event_device_test_util.cc
index 4d5407c1231c03b66c5ff6ebb49e6cfb377670c8..857c84118523e1d6e327807aef7ee0004b926bfa 100644
--- a/ui/events/ozone/evdev/event_device_test_util.cc
+++ b/ui/events/ozone/evdev/event_device_test_util.cc
@@ -27,7 +27,7 @@ std::string SerializeBitfield(unsigned long* bitmap, int max) {
for (int i = EVDEV_BITS_TO_GROUPS(max) - 1; i >= 0; i--) {
if (bitmap[i] || ret.size()) {
- base::StringAppendF(&ret, "%" PRIx64, bitmap[i]);
+ base::StringAppendF(&ret, "%lx", bitmap[i]);
if (i > 0)
ret += " ";
« no previous file with comments | « no previous file | ui/events/ozone/evdev/touch_noise/touch_noise_finder_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698