Skip to content

Commit 1117c44

Browse files
committed
rutabaga_gfx: Fix clippy warnings
Signed-off-by: Tyler Fanelli <[email protected]>
1 parent 5c5c852 commit 1117c44

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rutabaga_gfx/src/rutabaga_gralloc/formats.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ impl DrmFormat {
109109
/// Constructs a format identifer using a fourcc byte sequence.
110110
#[inline(always)]
111111
pub fn new(a: u8, b: u8, c: u8, d: u8) -> DrmFormat {
112-
DrmFormat(a as u32 | (b as u32) << 8 | (c as u32) << 16 | (d as u32) << 24)
112+
DrmFormat(a as u32 | (b as u32) << 8 | (c as u32) << 16 | ((d as u32) << 24))
113113
}
114114

115115
/// Returns the fourcc code as a sequence of bytes.

0 commit comments

Comments
 (0)