diff options
author | jbeich <jbeich@FreeBSD.org> | 2018-01-21 01:47:39 +0800 |
---|---|---|
committer | Koop Mast <kwm@rainbow-runner.nl> | 2018-02-04 06:26:59 +0800 |
commit | 6837412f4fd0ee2ae7db937f3852b074919f5130 (patch) | |
tree | 2c3b4c50ee45af82535befef51f193ff23660213 /print | |
parent | 9e141498e0be67c9fa08721dbca5aacd8515bc65 (diff) | |
download | freebsd-ports-gnome-6837412f4fd0ee2ae7db937f3852b074919f5130.tar.gz freebsd-ports-gnome-6837412f4fd0ee2ae7db937f3852b074919f5130.tar.zst freebsd-ports-gnome-6837412f4fd0ee2ae7db937f3852b074919f5130.zip |
games/bomns: unbreak build with Clang 6 (C++14 by default)
src/bomns.cpp:565:22: error: non-constant-expression cannot be narrowed from type 'int' to 'Sint16' (aka 'short') in initializer list [-Wc++11-narrowing]
SDL_Rect rcDest = {nX, nY, 15, 20};
^~
src/bomns.cpp:565:22: note: insert an explicit cast to silence this issue
SDL_Rect rcDest = {nX, nY, 15, 20};
^~
static_cast<Sint16>( )
src/bomns.cpp:565:26: error: non-constant-expression cannot be narrowed from type 'int' to 'Sint16' (aka 'short') in initializer list [-Wc++11-narrowing]
SDL_Rect rcDest = {nX, nY, 15, 20};
^~
src/bomns.cpp:565:26: note: insert an explicit cast to silence this issue
SDL_Rect rcDest = {nX, nY, 15, 20};
^~
static_cast<Sint16>( )
Reported by: pkg-fallout
Diffstat (limited to 'print')
0 files changed, 0 insertions, 0 deletions