[qet] [GIT] qet/qet.git branch master updated. 0.8.rc-13-gcffec76 |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/qet Archives
]
This is an automated email from git. It was generated because a ref
change was pushed to the "qet/qet.git" repository.
The branch, master has been updated
via cffec76018caabb9f6b93ad36c3040bc40c52ba6 (commit)
from ebe22f11313dce5073e023ec503d41da9fe499fd (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit cffec76018caabb9f6b93ad36c3040bc40c52ba6
Author: Simon De Backer <simondebacker@xxxxxxx>
Date: Sat Dec 5 08:24:35 2020 +0100
Fix warning: implicit conversion from 'int' to 'float'
changes value from 2147483647 to 2147483648
/* The largest number rand will return (same as INT_MAX). */
#define RAND_MAX 2147483647
(static_cast<float>(quint32) / int * 8)
why cast an int to a float to then divide by an int?
just divide the int by an int.
-----------------------------------------------------------------------
Summary of changes:
SingleApplication/singleapplication.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
hooks/post-receive
--
qet/qet.git