Fix constant type to match assigned variable type
authorDaniel Macks <dmacks@netspace.org>
Thu, 29 Nov 2012 15:33:47 +0000 (10:33 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Wed, 19 Dec 2012 19:29:08 +0000 (14:29 -0500)
commit1fec9ac47d157ca28c4efc1c18e5dd98bc39332b
treeea0915b40d808e5e25610643efb79e4f90d87e89
parent69ad5010e3044d5329d19b0b3099ff0c5e9e1ddc
Fix constant type to match assigned variable type

Some compilers assume a literal value is a certain byte-length without
checking the type to which it is being assigned, giving a compile-time
warning: a default of 'long' is a mismatch when assigning to a guint64
when the latter is a 'long long'. Use one of glib's standard macros to
specify the type of the constant to match the variable type.

https://bugzilla.gnome.org/show_bug.cgi?id=688829
glib/tests/utils.c