diff --git a/go-selinux/selinux_linux.go b/go-selinux/selinux_linux.go
index <HASH>..<HASH> 100644
--- a/go-selinux/selinux_linux.go
+++ b/go-selinux/selinux_linux.go
@@ -115,7 +115,7 @@ func verifySELinuxfsMount(mnt string) bool {
 		return false
 	}
 
-	if buf.Type != unix.SELINUX_MAGIC {
+	if uint32(buf.Type) != uint32(unix.SELINUX_MAGIC) {
 		return false
 	}
 	if (buf.Flags & stRdOnly) != 0 {
Add uint<I> cast to unix.SELINUX_MAGIC

Otherwise this value will be treated as `int<I>`, which results in an
build error in <I> environments:

```
selinux_linux.go:<I>:<I>: constant <I> overflows int<I>
```