Просмотр исходного кода

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 10 лет назад
Родитель
Сommit
f7131a740b
1 измененных файлов с 1 добавлено и 0 удалено
  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));