~brandontschaefer/miral/fix-unsigned-to-long-overflow

Viewing all changes in revision 580.

  • Committer: Brandon Schaefer
  • Date: 2017-09-14 21:15:09 UTC
  • Revision ID: brandon.schaefer@canonical.com-20170914211509-qmg98bhn68dpofys
* Set the min_aspect height and max_aspect width as an int::max().
  Due to the aspects being cast into a long, we dont want to overflow
  on a 32bit arch. sizeof(long) >= sizeof(int)

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: