-
Type:
Problem report
-
Resolution: Unresolved
-
Priority:
Trivial
-
None
-
Affects Version/s: 8.0.0
-
Component/s: None
-
None
Steps to reproduce:
- Setup frontend on 32-bit machine
- Navigate to user settings -> devices
- Try to add device
Result:
Two warnings are shown:
The float 1796504817062 is not representable as an int, cast occurred [... generateUuidV7() in include/func.inc.php:2495] The float 4294967295 is not representable as an int, cast occurred [... generateUuidV7() in include/func.inc.php:2523]
That's because generateUuidV7() assumes int is 64-bit.
Expected:
No warnings are shown.