Fix integer discrepancy in superstructure_lib_test
Change-Id: I1e78856e05a4f1f7ed36d7f64102b02631052fbf
diff --git a/y2017/control_loops/superstructure/superstructure_lib_test.cc b/y2017/control_loops/superstructure/superstructure_lib_test.cc
index 7906af4..0e82b46 100644
--- a/y2017/control_loops/superstructure/superstructure_lib_test.cc
+++ b/y2017/control_loops/superstructure/superstructure_lib_test.cc
@@ -1158,8 +1158,9 @@
chrono::milliseconds(600));
EXPECT_TRUE(unstuck_detection_time - unstuck_start_time >
chrono::milliseconds(400));
- LOG(INFO, "Unstuck time is %ldms",
- (unstuck_detection_time - unstuck_start_time).count() / 1000000);
+ LOG(INFO, "Unstuck time is %" PRId64 "ms",
+ static_cast<int64_t>(
+ (unstuck_detection_time - unstuck_start_time).count() / 1000000));
// Now, make sure it transitions to stuck again after a delay.
const auto restuck_start_time = monotonic_clock::now();