~mir-team/mir/development-branch

Viewing all changes in revision 4277.

  • Committer: Alan Griffiths
  • Author(s): Brandon Schaefer
  • Date: 2017-09-29 15:36:06 UTC
  • mfrom: (4275.1.1 mir)
  • Revision ID: alan@octopull.co.uk-20170929153606-bwvkugvhvo1wkr2n
When we have sizeof(long) == sizeof(int) on armhf/i386 we are storing max::long as the max_aspect then we multiple the max::long * <some_value> which ends up overflowing. For now we'll just cast to long long giving us at lease 64bits.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: