summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBen S <ogham@bsago.me>2015-10-02 00:56:09 +0100
committerBen S <ogham@bsago.me>2015-10-02 00:56:09 +0100
commitf7131a740b92a173d6a84cc88a5ec8b0a1b410c5 (patch)
tree5d8f03ea416a348430cb9dcd0fdebeb9832e0c10 /src
parent9b3b00316f46338174920f813d93685aaf4d6c5d (diff)
Fix warning when building on 64-bit systems
This warning was 'caused' by the previous commit (but it's small and easy to fix, so don't worry)
Diffstat (limited to 'src')
-rw-r--r--src/output/details.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/output/details.rs b/src/output/details.rs
index 991645f..e3650d5 100644
--- a/src/output/details.rs
+++ b/src/output/details.rs
@@ -581,6 +581,7 @@ impl<U> Table<U> where U: Users {
}
}
+ #[allow(trivial_numeric_casts)]
fn render_time(&self, timestamp: f::Time) -> Cell {
let date = self.tz.at(LocalDateTime::at(timestamp.0 as i64));