Commit f1d1252c authored by Jesper Juhl's avatar Jesper Juhl Committed by Linus Torvalds

[PATCH] Fix warning in tdfxfb.c

drivers/video/tdfxfb.c:1104: warning: initialization discards qualifiers from pointer target type
Signed-off-by: default avatarJesper Juhl <juhl-lkml@dif.dk>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 5136bab9
......@@ -1101,7 +1101,7 @@ static int tdfxfb_cursor(struct fb_info *info, struct fb_cursor *cursor)
*/
u8 *cursorbase = (u8 *) info->cursor.image.data;
char *bitmap = (char *)cursor->image.data;
char *mask = cursor->mask;
const char *mask = cursor->mask;
int i, j, k, h = 0;
for (i = 0; i < 64; i++) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment