[gdm] Fix setting of WINDOWPATH so it does not assume the format is 32 bit. Fixes bug #609272.
- From: Brian Cameron <bcameron src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gdm] Fix setting of WINDOWPATH so it does not assume the format is 32 bit. Fixes bug #609272.
- Date: Mon, 24 May 2010 22:02:36 +0000 (UTC)
commit d1f02808710408a6ccc3b209135118706d35eaf5
Author: Brian Cameron <Brian Cameron sun com>
Date: Mon May 24 17:01:57 2010 -0500
Fix setting of WINDOWPATH so it does not assume the format is 32 bit. Fixes
bug #609272.
daemon/gdm-slave.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/daemon/gdm-slave.c b/daemon/gdm-slave.c
index eec611b..4532758 100644
--- a/daemon/gdm-slave.c
+++ b/daemon/gdm-slave.c
@@ -435,7 +435,7 @@ gdm_slave_set_windowpath (GdmSlave *slave)
num = (*(uint16_t *)(void *)buf);
break;
case 32:
- num = (*(uint32_t *)(void *)buf);
+ num = (*(long *)(void *)buf);
break;
default:
g_debug ("format %d in XFree86_VT property!\n", actualformat);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]