|
@@ -122,7 +122,7 @@ int sbusfb_ioctl_helper(unsigned long cmd, unsigned long arg,
|
|
|
unsigned char __user *ured;
|
|
|
unsigned char __user *ugreen;
|
|
|
unsigned char __user *ublue;
|
|
|
- int index, count, i;
|
|
|
+ unsigned int index, count, i;
|
|
|
|
|
|
if (get_user(index, &c->index) ||
|
|
|
__get_user(count, &c->count) ||
|
|
@@ -161,7 +161,7 @@ int sbusfb_ioctl_helper(unsigned long cmd, unsigned long arg,
|
|
|
unsigned char __user *ugreen;
|
|
|
unsigned char __user *ublue;
|
|
|
struct fb_cmap *cmap = &info->cmap;
|
|
|
- int index, count, i;
|
|
|
+ unsigned int index, count, i;
|
|
|
u8 red, green, blue;
|
|
|
|
|
|
if (get_user(index, &c->index) ||
|