Quellcode durchsuchen

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)
Ben S vor 10 Jahren
Ursprung
Commit
f7131a740b
1 geänderte Dateien mit 1 neuen und 0 gelöschten Zeilen
  1. 1 0
      src/output/details.rs

+ 1 - 0
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));