mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-13 15:56:23 +01:00
Avoid warning on Win64 by using gintptr cast instead if long cast.
2008-08-04 Tor Lillqvist <tml@novell.com> * tests/testglib.c: Avoid warning on Win64 by using gintptr cast instead if long cast. svn path=/trunk/; revision=7304
This commit is contained in:
parent
b71a3a0f6b
commit
b5b363019a
@ -1,3 +1,8 @@
|
|||||||
|
2008-08-04 Tor Lillqvist <tml@novell.com>
|
||||||
|
|
||||||
|
* tests/testglib.c: Avoid warning on Win64 by using gintptr cast
|
||||||
|
instead if long cast.
|
||||||
|
|
||||||
2008-08-04 Matthias Clasen <mclasen@redhat.com>
|
2008-08-04 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
* configure.in: Bump version
|
* configure.in: Bump version
|
||||||
|
@ -242,7 +242,7 @@ node_build_string (GNode *node,
|
|||||||
gchar *string;
|
gchar *string;
|
||||||
gchar c[2] = "_";
|
gchar c[2] = "_";
|
||||||
|
|
||||||
c[0] = ((gchar) ((long) (node->data)));
|
c[0] = ((gchar) ((gintptr) (node->data)));
|
||||||
|
|
||||||
string = g_strconcat (*p ? *p : "", c, NULL);
|
string = g_strconcat (*p ? *p : "", c, NULL);
|
||||||
g_free (*p);
|
g_free (*p);
|
||||||
@ -255,7 +255,7 @@ static void
|
|||||||
gnode_test (void)
|
gnode_test (void)
|
||||||
{
|
{
|
||||||
#define C2P(c) ((gpointer) ((long) (c)))
|
#define C2P(c) ((gpointer) ((long) (c)))
|
||||||
#define P2C(p) ((gchar) ((long) (p)))
|
#define P2C(p) ((gchar) ((gintptr) (p)))
|
||||||
GNode *root;
|
GNode *root;
|
||||||
GNode *node;
|
GNode *node;
|
||||||
GNode *node_B;
|
GNode *node_B;
|
||||||
|
Loading…
Reference in New Issue
Block a user