]> Pileus Git - ~andy/linux/commit
staging/vt6656: Fix too large integer constant warning on 32-bit
authorGeert Uytterhoeven <geert@linux-m68k.org>
Mon, 4 Mar 2013 19:42:00 +0000 (20:42 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 11 Mar 2013 16:53:46 +0000 (09:53 -0700)
commitaa1e1234826e21197f818ca0abf519775ad4eb5c
tree9504e801a452642ee45e78868b8c84bdeae61891
parentb5ae11463a67a5e468dd67482ab2308994da9b2b
staging/vt6656: Fix too large integer constant warning on 32-bit

drivers/staging/vt6656/card.c: In function ‘CARDqGetNextTBTT’:
drivers/staging/vt6656/card.c:793: warning: integer constant is too large for ‘unsigned long’ type

Commit c7b7cad0d8df823ea063c86a54316bbcbfa04a7c ("staging/vt6656: Fix
sparse warning constant 0xffffffff00000000U is so big it is unsigned long")
changed the constant to "0xffffffff00000000UL", but that only works on
64-bit.  Change it "0xffffffff00000000ULL" to fix it for 32-bit, too.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Reviewed-by: Peter Huewe <peterhuewe@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6656/card.c