summaryrefslogtreecommitdiff
path: root/shared
diff options
context:
space:
mode:
authorThomas Hellstrom <unichrome@shipmail.org>2005-07-15 21:22:51 +0000
committerThomas Hellstrom <unichrome@shipmail.org>2005-07-15 21:22:51 +0000
commit567113788c030b367a28ea9253fbf34beef2789e (patch)
tree440552ee7a5cbd7b72b07f41fa5a0d036e349d6a /shared
parent5a5478de7ab4ee2eef0308d8b4ce5c53222cd55e (diff)
VIA: Fix sparse warnings (Alexey Dobriyan)
Diffstat (limited to 'shared')
-rw-r--r--shared/via.h4
-rw-r--r--shared/via_ds.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/shared/via.h b/shared/via.h
index ae69f656..5c33d6a7 100644
--- a/shared/via.h
+++ b/shared/via.h
@@ -30,11 +30,11 @@
#define DRIVER_NAME "via"
#define DRIVER_DESC "VIA Unichrome / Pro"
-#define DRIVER_DATE "20050523"
+#define DRIVER_DATE "20050715"
#define DRIVER_MAJOR 2
#define DRIVER_MINOR 6
-#define DRIVER_PATCHLEVEL 3
+#define DRIVER_PATCHLEVEL 4
#define DRIVER_IOCTLS \
[DRM_IOCTL_NR(DRM_IOCTL_VIA_ALLOCMEM)] = { via_mem_alloc, 1, 0 }, \
diff --git a/shared/via_ds.h b/shared/via_ds.h
index f9e0b952..23960d59 100644
--- a/shared/via_ds.h
+++ b/shared/via_ds.h
@@ -62,8 +62,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;