changeset 3234:e6cd8d1d5512

Fixed type cast
author unexist
date Fri, 21 Sep 2012 12:20:52 +0200
parents 511228884d98
children 8a1fe957faf1
files src/subtlext/subtle.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/subtlext/subtle.c	Wed Sep 19 12:59:09 2012 +0200
+++ b/src/subtlext/subtle.c	Fri Sep 21 12:20:52 2012 +0200
@@ -382,7 +382,7 @@
        * know the real window id at this point (race) */
       if(0 < (pid = subSharedSpawn(RSTRING_PTR(cmd))))
         {
-          ret = subextClientInstantiate((int)pid);
+          ret = subextClientInstantiate((Window)pid);
           rb_iv_set(ret, "@pid", INT2FIX((int)pid));
         }
     }