From f92b1f2eaf0e152e04987be2930484fedf87146d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Duval?= Date: Thu, 25 Apr 2013 18:22:53 +0200 Subject: [PATCH] GCC 4.7.x finds that 1 << 31 is a signed integer, use the unsigned notation * error: narrowing conversion of '-2147483618' from 'int' to 'uint32 {aka long unsigned int}' inside { } is ill-formed in C++11 --- headers/private/graphics/video_overlay.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/headers/private/graphics/video_overlay.h b/headers/private/graphics/video_overlay.h index ff7669dfe7..556b3635d0 100644 --- a/headers/private/graphics/video_overlay.h +++ b/headers/private/graphics/video_overlay.h @@ -14,7 +14,7 @@ extern "C" { #endif enum { - B_SUPPORTS_OVERLAYS = 1 << 31 // part of display_mode.flags + B_SUPPORTS_OVERLAYS = 1U << 31 // part of display_mode.flags }; enum {