From 070383ca36a32aee4635ad63f5365b9db245c83f Mon Sep 17 00:00:00 2001 From: Krzesimir Nowak Date: Tue, 2 May 2017 14:27:14 +0200 Subject: [PATCH] gvariant: Fix the max unsigned 64-bit integer value It should be 2^64-1, not just 2^64. Reviewed-by: Philip Withnall --- glib/gvarianttype.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/glib/gvarianttype.h b/glib/gvarianttype.h index b48b267d2..1f1532c3a 100644 --- a/glib/gvarianttype.h +++ b/glib/gvarianttype.h @@ -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")