freebsd-ports/games/bomns
Jan Beich 2e809b5518 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
2018-01-20 17:47:39 +00:00
..
distinfo
Makefile games/bomns: unbreak build with Clang 6 (C++14 by default) 2018-01-20 17:47:39 +00:00
pkg-descr
pkg-plist