mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-13 04:34:04 +02:00
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:
@@ -97,8 +97,9 @@ typedef struct _GVariantType GVariantType;
|
|||||||
* G_VARIANT_TYPE_UINT64:
|
* G_VARIANT_TYPE_UINT64:
|
||||||
*
|
*
|
||||||
* The type of an integer value that can range from 0
|
* The type of an integer value that can range from 0
|
||||||
* to 18446744073709551616. That's a really big number, but a Rubik's
|
* to 18446744073709551615 (inclusive). That's a really big number,
|
||||||
* cube can have a bit more than twice as many possible positions.
|
* but a Rubik's cube can have a bit more than twice as many possible
|
||||||
|
* positions.
|
||||||
**/
|
**/
|
||||||
#define G_VARIANT_TYPE_UINT64 ((const GVariantType *) "t")
|
#define G_VARIANT_TYPE_UINT64 ((const GVariantType *) "t")
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user