]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
ALSA: fireface: Use ULL suffixes for 64-bit constants
authorGeert Uytterhoeven <geert@linux-m68k.org>
Tue, 28 May 2019 14:24:23 +0000 (16:24 +0200)
committerTakashi Iwai <tiwai@suse.de>
Wed, 29 May 2019 10:06:48 +0000 (12:06 +0200)
commit6954158a16404e7091cea494cd0a435ca2f90388
tree89a0ca161c77074ad51ab3e36539d14db12ae063
parent9cb40eb184c4220d244a532bd940c6345ad9dbd9
ALSA: fireface: Use ULL suffixes for 64-bit constants

With gcc 4.1:

    sound/firewire/fireface/ff-protocol-latter.c: In function ‘latter_switch_fetching_mode’:
    sound/firewire/fireface/ff-protocol-latter.c:97: warning: integer constant is too large for ‘long’ type
    sound/firewire/fireface/ff-protocol-latter.c: In function ‘latter_begin_session’:
    sound/firewire/fireface/ff-protocol-latter.c:170: warning: integer constant is too large for ‘long’ type
    sound/firewire/fireface/ff-protocol-latter.c:197: warning: integer constant is too large for ‘long’ type
    sound/firewire/fireface/ff-protocol-latter.c:205: warning: integer constant is too large for ‘long’ type
    sound/firewire/fireface/ff-protocol-latter.c: In function ‘latter_finish_session’:
    sound/firewire/fireface/ff-protocol-latter.c:214: warning: integer constant is too large for ‘long’ type

Fix this by adding the missing "ULL" suffixes.
Add the same suffix to the last constant, to maintain consistency.

Fixes: fd1cc9de64c2ca6c ("ALSA: fireface: add support for Fireface UCX")
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Reviewed-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/firewire/fireface/ff-protocol-latter.c