gvariant: Fix the max unsigned 64-bit integer value

It should be 2^64-1, not just 2^64.

Reviewed-by: Philip Withnall <philip@tecnocode.co.uk>
This commit is contained in:
Krzesimir Nowak 2017-05-02 14:27:14 +02:00
parent 6ddfd516e6
commit 070383ca36

View File

@ -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")