summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorOwain Ainsworth <oga@cvs.openbsd.org>2010-05-23 15:29:19 +0000
committerOwain Ainsworth <oga@cvs.openbsd.org>2010-05-23 15:29:19 +0000
commit4f5e87f95c65e772d75e9bddcc79934f8f7de8b3 (patch)
tree0c0b78aa88c645f4883e4b591ecead416d258a04 /sys
parent8fc3fb4b45589e3e88ceba986b564491291629a3 (diff)
fix another signed/unsigned slipt. no functional change. I hate this
header. Found by Clang static analyser.
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/pci/drm/drm_atomic.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/pci/drm/drm_atomic.h b/sys/dev/pci/drm/drm_atomic.h
index 07ee13162d3..c65c6416070 100644
--- a/sys/dev/pci/drm/drm_atomic.h
+++ b/sys/dev/pci/drm/drm_atomic.h
@@ -135,7 +135,7 @@ static __inline int
find_first_zero_bit(volatile void *p, int max)
{
int b;
- volatile int *ptr = (volatile u_int *)p;
+ volatile u_int *ptr = (volatile u_int *)p;
for (b = 0; b < max; b += 32) {
if (ptr[b >> 5] != ~0) {