File kdm-backend-session.patch of Package kdebase4-workspace

Index: kde-workspace-4.10.5/kdm/backend/session.c
===================================================================
--- kde-workspace-4.10.5.orig/kdm/backend/session.c
+++ kde-workspace-4.10.5/kdm/backend/session.c
@@ -294,7 +294,7 @@ ctrlGreeterWait(int wreply, time_t *star
                 switch (type & C_TYPE_MASK) {
                 case C_TYPE_INT:
                     /*debug(" -> int %#x (%d)\n", *(int *)avptr, *(int *)avptr);*/
-                    gSendInt(*(int *)avptr);
+                    gSendInt((int)(unsigned long)*(char **)avptr);
                     break;
                 case C_TYPE_STR:
                     /*debug(" -> string %\"s\n", *avptr);*/