aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/libxspf
diff options
context:
space:
mode:
authorjbeich <jbeich@FreeBSD.org>2018-01-21 01:47:39 +0800
committerKoop Mast <kwm@rainbow-runner.nl>2018-02-04 06:26:59 +0800
commit6837412f4fd0ee2ae7db937f3852b074919f5130 (patch)
tree2c3b4c50ee45af82535befef51f193ff23660213 /multimedia/libxspf
parent9e141498e0be67c9fa08721dbca5aacd8515bc65 (diff)
downloadfreebsd-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 'multimedia/libxspf')
0 files changed, 0 insertions, 0 deletions