summaryrefslogtreecommitdiff
path: root/shared
diff options
context:
space:
mode:
authorDave Airlie <airlied@linux.ie>2004-12-03 10:22:15 +0000
committerDave Airlie <airlied@linux.ie>2004-12-03 10:22:15 +0000
commitf197110e07b0be03d5d79329779b665ac46433d5 (patch)
treeef8421754c466fbe3ae3703efd0f1eeabd31680e /shared
parent4f8fa6028631fa1d799e9a68ed710fbc98976656 (diff)
Make 1-bit fields be unsigned (no sign bit :). sparse complains about them:
drivers/char/drm/sis_ds.h:88:12: warning: dubious one-bit signed bitfield drivers/char/drm/sis_ds.h:89:16: warning: dubious one-bit signed bitfield Signed-off-by: Randy Dunlap <rddunlap@osdl.org> Signed-off-by: Dave Airlie <airlied@linux.ie>
Diffstat (limited to 'shared')
-rw-r--r--shared/sis_ds.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/shared/sis_ds.h b/shared/sis_ds.h
index 55c99661..8d33f87b 100644
--- a/shared/sis_ds.h
+++ b/shared/sis_ds.h
@@ -85,8 +85,8 @@ struct mem_block_t {
struct mem_block_t *heap;
int ofs,size;
int align;
- int free:1;
- int reserved:1;
+ unsigned int free:1;
+ unsigned int reserved:1;
};
typedef struct mem_block_t TMemBlock;
typedef struct mem_block_t *PMemBlock;