Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix qreal vs double.
In qt4 on arm architectures qreal is defined as float while on other architectures it is defined as double. This can cause problems if qreal and double are carelessly mixed. In this particular case the problem is that qMin/qMax are templates defined to take two parameters of the same type. If two different types are passed in then C++ can't resolve what type the template parameter should be and bails out. The fix is simple, typecast one of the parameters so they match. Author: Peter Michael Green <firstname.lastname@example.org> Bug-Debian: http://bugs.debian.org/737814
- Loading branch information
Showing 2 changed files with 3 additions and 3 deletions.