projects
/
profile
/
ivi
/
libdrm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7af93dd
)
drm_rmdraw: Declare id and idx as signed so testing for < 0 works as intended.
author
Felix Kühling
<fxkuehl@gmx.de>
Mon, 2 Oct 2006 08:50:40 +0000
(10:50 +0200)
committer
Michel Dänzer
<michel@tungstengraphics.com>
Mon, 2 Oct 2006 08:50:40 +0000
(10:50 +0200)
shared-core/drm_drawable.c
patch
|
blob
|
history
diff --git
a/shared-core/drm_drawable.c
b/shared-core/drm_drawable.c
index
5e2fc86
..
d203b24
100644
(file)
--- a/
shared-core/drm_drawable.c
+++ b/
shared-core/drm_drawable.c
@@
-132,7
+132,8
@@
int drm_rmdraw(DRM_IOCTL_ARGS)
{
DRM_DEVICE;
drm_draw_t draw;
- unsigned int id, idx, shift;
+ int id, idx;
+ unsigned int shift;
unsigned int irqflags;
u32 *bitfield = dev->drw_bitfield;
unsigned int bitfield_length = dev->drw_bitfield_length;