Merge lp:~amdmi3/stratagus/cxx11-narrowing into lp:stratagus
Proposed by
Dmitry Marakasov
Status: | Needs review |
---|---|
Proposed branch: | lp:~amdmi3/stratagus/cxx11-narrowing |
Merge into: | lp:stratagus |
Diff against target: |
12 lines (+1/-1) 1 file modified
src/video/mng.cpp (+1/-1) |
To merge this branch: | bzr merge lp:~amdmi3/stratagus/cxx11-narrowing |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Kyran Jackson | Pending | ||
Review via email: mp+259063@code.launchpad.net |
To post a comment you must log in.
Unmerged revisions
- 9013. By Dmitry Marakasov
-
Fix c++11 narrowing error
src/video/
mng.cpp: 301:20: error: non-constant- expression cannot be narrowed from type 'int' to 'Sint16' (aka 'short') in initializer list [-Wc++11-narrowing]
SDL_ Rect rect = {x, y, surface->w, surface->h};
^
Hell yeah, this was causing strife for me yesterday!