Skip to content

Commit d4183d9

Browse files
fix type cast
1 parent 92425b2 commit d4183d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/dispatch.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ pub enum FullscreenState {
6565

6666
impl std::fmt::Display for FullscreenState {
6767
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
68-
write!(f, "{}", *self as u8)
68+
write!(f, "{}", *self as i8)
6969
}
7070
}
7171

0 commit comments

Comments
 (0)