Commit 5b5fad50 authored by David S. Miller's avatar David S. Miller

drivers/video/aty/mach64_cursor.c: Kill warning on sparc64.

parent 2575952d
......@@ -252,7 +252,7 @@ struct aty_cursor *__init aty_init_cursor(struct fb_info *info)
cursor->offset = info->fix.smem_len;
#ifdef __sparc__
addr = info->screen_base - 0x800000 + cursor->offset;
addr = (unsigned long) info->screen_base - 0x800000 + cursor->offset;
cursor->ram = (u8 *) addr;
#else
#ifdef __BIG_ENDIAN
......
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