drm_rmdraw: Declare id and idx as signed so testing for < 0 works as intended.

(cherry picked from d583899681 commit)
main
Felix Kühling 2006-10-02 10:50:40 +02:00 committed by Michel Dänzer
parent 8e908eaf50
commit 58a23d193f
1 changed files with 2 additions and 1 deletions

View File

@ -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;