summaryrefslogtreecommitdiff
path: root/daemon/gdm-xdmcp-display-factory.c
diff options
context:
space:
mode:
authorRay Strode <rstrode@redhat.com>2007-10-24 14:21:12 +0000
committerRay Strode <halfline@src.gnome.org>2007-10-24 14:21:12 +0000
commitccb8c76dbecf5a25190629f20450d6849b5be5cb (patch)
tree9a44966984bd7b23a0a6ba3f250ec720f335b185 /daemon/gdm-xdmcp-display-factory.c
parentef9a787ac6701e920a64740bc3bda3554ff8950e (diff)
downloadgdm-ccb8c76dbecf5a25190629f20450d6849b5be5cb.tar.gz
cast size_t values to int before passing to g_debug, to stop warnings on
2007-10-24 Ray Strode <rstrode@redhat.com> * daemon/gdm-slave.c: * daemon/gdm-session-record.c: * daemon/gdm-xdmcp-display-factory.c: cast size_t values to int before passing to g_debug, to stop warnings on 64-bit svn path=/trunk/; revision=5404
Diffstat (limited to 'daemon/gdm-xdmcp-display-factory.c')
-rw-r--r--daemon/gdm-xdmcp-display-factory.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/daemon/gdm-xdmcp-display-factory.c b/daemon/gdm-xdmcp-display-factory.c
index 075039c5..c0e8ce59 100644
--- a/daemon/gdm-xdmcp-display-factory.c
+++ b/daemon/gdm-xdmcp-display-factory.c
@@ -2078,13 +2078,13 @@ gdm_xdmcp_handle_request (GdmXdmcpDisplayFactory *factory,
}
/* sanity check cookie */
- g_debug ("Reencoded cookie len:%d '%s'", test_cookie->len, test_cookie->str);
+ g_debug ("Reencoded cookie len:%d '%s'", (int) test_cookie->len, test_cookie->str);
g_assert (test_cookie->len == cookie->len);
g_assert (strcmp (test_cookie->str, cookie->str) == 0);
g_string_free (test_cookie, TRUE);
g_debug ("Sending authorization key for display %s", cookie->str);
- g_debug ("Decoded cookie len %d", binary_cookie->len);
+ g_debug ("Decoded cookie len %d", (int) binary_cookie->len);
session_number = gdm_xdmcp_display_get_session_number (GDM_XDMCP_DISPLAY (display));