lp:~amdmi3/stratagus/cxx11-narrowing
Created by
Dmitry Marakasov
and last modified
- Get this branch:
- bzr branch lp:~amdmi3/stratagus/cxx11-narrowing
Only
Dmitry Marakasov
can upload to this branch. If you are
Dmitry Marakasov
please log in for upload directions.
Branch merges
Propose for merging
No branches
dependent on this one.
Ready for review
for merging
into
lp:stratagus
- Kyran Jackson: Pending requested
-
Diff: 12 lines (+1/-1)1 file modifiedsrc/video/mng.cpp (+1/-1)
Branch information
Recent 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};
^
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:stratagus