Skip to content

Commit

Permalink
remove compiler warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
stlankes committed Mar 25, 2020
1 parent bb1c1e1 commit 2e2f981
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/syscalls/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(());
Expand Down

0 comments on commit 2e2f981

Please sign in to comment.