diff options
author | Campbell Barton <ideasman42@gmail.com> | 2016-02-16 21:17:03 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2016-02-16 21:18:47 +0300 |
commit | 1c958f5bef4be78af3cf1d4157c3836b71d0c0da (patch) | |
tree | 59ba6b1d947fbd99a71cf134dadb24083da7df56 /intern/ghost | |
parent | 480b814e029e72ce790737741aca3f123666bd8a (diff) |
Cleanup: avoid -Wnarrowing warning
Diffstat (limited to 'intern/ghost')
-rw-r--r-- | intern/ghost/intern/GHOST_WindowX11.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/intern/ghost/intern/GHOST_WindowX11.cpp b/intern/ghost/intern/GHOST_WindowX11.cpp index 7e59ec82755..86ea86d25fc 100644 --- a/intern/ghost/intern/GHOST_WindowX11.cpp +++ b/intern/ghost/intern/GHOST_WindowX11.cpp @@ -105,8 +105,12 @@ typedef struct { * print(", ".join([str(p) for p in px]), end=",\n") */ -/* See the python script above to regenerate the 48x48 icon within blender */ -static long BLENDER_ICON_48x48x32[] = { +/** + * See the python script above to regenerate the 48x48 icon within blender + * + * \note Using 'unsigned' to avoid `-Wnarrowing` warning. + */ +static const unsigned long BLENDER_ICON_48x48x32[] = { 48,48, 4671303, 4671303, 4671303, 4671303, 4671303, 4671303, 4671303, 4671303, 4671303, 4671303, 4671303, 4671303, 4671303, 4671303, 4671303, 4671303, 4671303, 4671303, 4671303, 4671303, 4671303, 4671303, 4671303, 4671303, 4671303, 4671303, 4671303, 4671303, 4671303, 4671303, 4671303, 4671303, 4671303, 4671303, 4671303, 4671303, 4671303, 4671303, 4671303, 4671303, 4671303, 4671303, 4671303, 4671303, 4671303, 4671303, 4671303, 4671303, 4671303, 4671303, 4671303, 4671303, 4671303, 4671303, 4671303, 4671303, 4671303, 4671303, 4671303, 4671303, 4671303, 4671303, 4671303, 4671303, 4671303, 4671303, 4671303, 4671303, 4671303, 4671303, 4671303, 4671303, 4671303, 4671303, 4671303, 4671303, 4671303, 4671303, 4671303, 4671303, 4671303, 4671303, 4671303, 4671303, 4671303, 4671303, 4671303, 4671303, 4671303, 4671303, 4671303, 4671303, 4671303, 4671303, 4671303, 4671303, |