GitLab repository storage has been migrated to hashed layout. Please contact Infrastructure team if you notice any issues with repositories or hooks.

Commit 070383ca authored by Krzesimir Nowak's avatar Krzesimir Nowak

gvariant: Fix the max unsigned 64-bit integer value

It should be 2^64-1, not just 2^64.
Reviewed-by: Philip Withnall's avatarPhilip Withnall <philip@tecnocode.co.uk>
parent 6ddfd516
......@@ -97,8 +97,9 @@ typedef struct _GVariantType GVariantType;
* G_VARIANT_TYPE_UINT64:
*
* The type of an integer value that can range from 0
* to 18446744073709551616. That's a really big number, but a Rubik's
* cube can have a bit more than twice as many possible positions.
* to 18446744073709551615 (inclusive). That's a really big number,
* but a Rubik's cube can have a bit more than twice as many possible
* positions.
**/
#define G_VARIANT_TYPE_UINT64 ((const GVariantType *) "t")
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment