From 2e2f981a528b7cba7a4a2a343ed7a967b2e2b0cf Mon Sep 17 00:00:00 2001 From: Stefan Lankes Date: Wed, 25 Mar 2020 08:05:18 +0100 Subject: [PATCH] remove compiler warnings --- src/syscalls/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/syscalls/mod.rs b/src/syscalls/mod.rs index e889298344..dfe2c691b7 100644 --- a/src/syscalls/mod.rs +++ b/src/syscalls/mod.rs @@ -34,7 +34,7 @@ use synch::spinlock::SpinlockIrqSave; use syscalls::interfaces::SyscallInterface; #[cfg(feature = "newlib")] -const LWIP_FD_BIT: i32 = (1 << 30); +const LWIP_FD_BIT: i32 = 1 << 30; #[cfg(feature = "newlib")] pub static LWIP_LOCK: SpinlockIrqSave<()> = SpinlockIrqSave::new(());