Comment 1 for bug 37760

Revision history for this message
David Huggins-Daines (dhuggins) wrote :

This was a really stupid bug and very easy to fix. Here is the patch:

--- at-spi-1.7.6/atk-bridge/bridge.c~ 2006-02-27 12:28:13.000000000 -0500
+++ at-spi-1.7.6/atk-bridge/bridge.c 2006-04-02 15:05:27.000000000 -0400
@@ -311,7 +311,7 @@
                canonical_display_name = g_strdup (display_env);
                display_p = strrchr (canonical_display_name, ':');
                screen_p = strrchr (canonical_display_name, '.');
- if (screen_p && display_p && ((guint) screen_p > (guint) display_p))
+ if (screen_p && display_p && ((gulong) screen_p > (gulong) display_p))
                {
                    *screen_p = '\0';
                }